/tapir-archicad-automation

The easiest way to use the JSON/Python API from Archicad without knowing how to code.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

tapir-archicad-automation

Archicad Add-On Build Grasshopper Plugin Build

This repository contains the Archicad Python API Grasshopper Plugin, the easiest way to use the JSON/Python API from Archicad without knowing how to code. The repository contains the following components:

  • grasshopper-plugin: This is set of nodes for a Grasshopper that handles functions of ARCHICAD Python API and helps with creation BIMx extensions (.bimxx).
  • archicad-addon: The source code of the Tapir Additional JSON Commands Archicad Add-On. This Add-On registers some additional JSON commands on the Archicad JSON API.
  • python-package: Contains the source code for IronPython friendly adaptation of the official archicad package.
  • sandbox: Several useful information and code examples that we would like to keep for later reference.

Roadmap

The roadmap is publicly available here.

Grasshopper Plugin

Installation

  • Download manualy the api.zip file, and extract it on your computer.
  • Copy ARCHICAD_API folder to Grasshopper's UserObjects folder (GH Menu: File/Special Folders/User Object Folder).
  • Copy api2.py to Rhino's scripts folder. See how to locate scripts Folder for details.

How to use it?

Goto archicad-api.com to get more info on plugin usage

ARCHICAD Addon

For some functions one must install an Addon developed by kovacsv which is based on tlorantfy's work. (Thank You guys!)

Installation

Download the latest version here:

Once you downloaded the Add-On files you have to install it in Archicad. Follow these steps to install the Add-On.

  1. Place the downloaded file somewhere on your computer.
  2. In Archicad run the command "Options > Add-On Manager".
  3. Open the "Edit List of Available Add-Ons" tabpage, and click on the "Add" button.
  4. Browse the downloaded Add-On file.
  5. Click "OK" in the Add-On Manager.

Important note for Mac users: The Add-On is not properly signed at the moment, so once you try to load the Add-On a warning will appear on the screen. You can ignore this warning, but after doing the process above go to Security Settings, allow the Add-On file to run and restart Archicad.

Currently three experimental nodes use this Addon:

  • Pick Connection Port
  • Get Project Info
  • GetSelectedElements (NEW!!) and they can be found in 'Addon Commands' group on ARCHICAD_API Ribbon

Documentation

You can find the documentation of the implemented commands here: https://enzyme-apd.github.io/tapir-archicad-automation/archicad-addon.