Skip to content

kekesidavid/speckle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speckle JSON Export

Element Data exporter AddOn

Table of Contents

  1. Introduction
  2. Build
  3. Installation
  4. Usage
  5. Content

Introduction

This is an ArchiCad AddOn that can export element data from ArchiCad into JSON format.

Build

What will you need?

  • ArchiCad 27
  • CMake – To generate IDE projects (3.16 minimum version is needed)
  • Python – For some build tools (version 2.7+ or 3.8+).
  • Visual Studio 2019 or 2022 (v142 toolset)

How to build the AddOn on Windows and Visual Studio 2019

  • open a terminal at the project root
  • run this CMake command: cmake -G "Visual Studio 16 2019" -A "x64" -DAC_ADDON_LANGUAGE="INT" -DAC_API_DEVKIT_DIR="Libs\acapi27" -B build -DCMAKE_BUILD_TYPE=Debug
  • ./build/archicad-speckle.sln is created
  • open this solution file in Visual Studio 2019 and build the project

How to build the AddOn on Windows and Visual Studio 2022

  • make sure that your Visual Studio 2022 is installed properly and that you have the v142 toolset installed
  • after modifying the installation, a restart may be necessary

VS 2022 Components

  • open a terminal at the project root
  • run this CMake command: cmake -G "Visual Studio 17 2022" -T v142 -A "x64" -DAC_ADDON_LANGUAGE="INT" -DAC_API_DEVKIT_DIR="Libs\acapi27" -B build -DCMAKE_BUILD_TYPE=Debug
  • ./build/archicad-speckle.sln is created
  • open this solution file in Visual Studio 2022 and build the project

More Help

Installation

  • Open the Add-On Manager in Archicad (Options menu)
  • Click the "Add..." button under "Edit list of available Add-ons"
  • Browse ./build/Int/Debug/Speckle.apx

Usage

Export

  • Click the "Speckle/Json Export/Export" menu item
  • Select the Element types to export in the dialog
  • Click Export
  • Select a name and path for your JSON file and save

Quick Export

  • Click the "Speckle/Json Export/Quick Export" menu item
  • Select a name and path for your JSON file and save

Content

The JSON contains:

  • the project name on the root level
  • elements data

For each element:

  • guid
  • name (this is called id in ArchiCad but is not unique)
  • type (element type)
  • built in properties organized in groups
  • user defined properties organized in groups (null if user defined no custom properties for the given element)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published