We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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 | Graphisoft Insider Panelist | 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»