Loading a gh file, executing it and harvesting its data

I did’nt succed in translating this script into python. So I decided to implement it into a grasshopper file that I turned into a Rhino Command named GrasshopperPlayerOnce
Instead of
-GrasshopperPlayer "xx.gh"
I use
-GrasshopperPlayerOnce "xx.gh"
It works well. The file is joined
GrasshopperPlayerOnce.rhp (524 KB)

2 Likes