Demo semantic model exchange between ArchiCAD, cadwork.
Wall frames originate from ArchiCAD using the Python API. The rest is illustrated using compas viewer instead, as Python API is limited. Beams are added to one of the walls in cadwork, and processed as children of the wall element into the semantic model.
- Create a new virtual environment called
SWaaEditor
in the cadwork plugin directory:
PLIGIN_DIR=C:\Users\Public\Documents\cadwork\userprofil_30\3d\API.x64\
> cd $PLUGIN_DIR
> virtualenv SWaaEditorIDC
> cd SWaaEditorIDC
-
Copy the contents of the
SWaaEditorIDC
directory from this repository, along with therequirements.txt
file to the newly created plugin folder. -
Activate new virtual environment and install COMPAS dependencies:
> Scripts\activate
> (SWaaEditorIDC) pip install -r requirements.txt
- Open cadwork, a new user plugin called SWaaEditorIDC should appear.