cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad Python API
About automating tasks in Archicad using the Python API.

How to connect Python without opening a model? (and how to bypass blocking dialogs on auto-open

Trung Tran
Participant

Hi All
I’m building an automation service that needs to connect to Archicad from Python before any project is open (i.e., while Archicad is on the Start screen).

If that isn’t possible, my fallback is to launch Archicad with a project file—but some modal dialogs appear at startup and block the project from opening, so the Python JSON interface never starts listening.

Is there an official way to keep the Python JSON interface active on the Start screen (without opening a model) ?
If not, is there a supported method to suppress or auto-accept those startup dialogs when launching with a project ?

Thank you in advance !

2 REPLIES 2

You should ask this question on the Tapir discord: Python API for archicad is no longer actively developped by Graphisoft.

The Tapir project is an opensource initiative to continue this Archicad - Python via JSON connection.

 

Link to the discord: https://discord.gg/NAnSennmpY 

Archicad 27 - GDL - PYTHON
runxel
Hero

You should also have a look at Multiconn by Szamosi Máté.

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»