I’m facing the following problem: I need to generate .ghx files from a python environment (outside of grasshopper). Grasshopper is not installed on the machine that should create the .ghx files.
I understand that the .ghx file is basically in XML format. While theoretically humanly readable, I have some problems digging into the file structure.
Even a simple .ghx file with one grasshopper component (e.g. a point) contains hundreds of lines.
My question: Is there documentation about the .gh file structure anywhere? I’ve been searching for days but couldn’t find anything.
Also, if anybody has attempted something similar, I’d be happy for any related python code that I can study.
Thanks a lot.