Run Dragonfly Model using Python code

Hi, I have a dragonfly model with all energy properties assigned to buildings, I also have the GeoJson file for the model and each builidng. I was wondering if I can create a python code to run the model without actually open Rhino and Grasshopper, if there is a way can you please guide me to the python packages I can use?


Hi @Aya, Yes. You can do that. If you double-click on the Dragonfly components you will see that most of the code has no Grasshopper/Rhino dependency. You should be able to copy/paste most of the code directly from the component.

You can find the SKDs here:

1 Like