BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

Parametric Worflow - Archicad/Python/Hops/Grasshopper

jomijoma
Beginner

Trying to make a custom door generator in Grasshopper that will report back to Archicad the 3d model and plan views required for Library Part Maker.

 

The idea is the Archicad user will run a python script through the Python Palette and input a few ints (door height, width, wall thickness). Those get sent over togH through the HOPS component (python integration with gH). Grasshopper would then send the parts over to Archicad. This would avoid users having to deal with gH (could even be running in a compute server).

 

I cant get user inputs through the python palette though. Is this possible?

1 REPLY 1
runxel
Legend

@jomijoma wrote:

I cant get user inputs through the python palette though. Is this possible?


Theoretically you could get user input by making a small GUI with Python, e.g. with tkinter.

Haven't tried it, tho.

Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»
Learn and get certified!