Is it possible to create a battery that when it is activated, the grasshopper will close?
When you say battery do you mean component?
Yes, a component that can close the grasshopper file
I heard that here in the office the original name was indeed battery.
CloseActiveDocument.gh (2.9 KB)
Thank you very much. It is what I want.
Then McFinland needs to brush up on its vocabulary.
Is there a way to get the grasshopper player to quit?
I am running my script with this turned on
and I am using Human UI, however this workflow would be useful for any GH player scripts. I did this set-up, which works when I have the grasshopper window open, but not when I run the script using Grasshopper Player with a Rhino button like so
-GrasshopperPlayer “path.gh”
GHPlayer forcequit.gh (11.2 KB)
Hi @diana.ofcg what I know on this; is in this thread:
As far as I know there is no youtrack ticket on it as a problem to be solved. Until that happens it’s not likely to be looked at any further.
I would LOVE a simple Rhino Common call that killed a running headless GH dead, but for ‘some reason’ once you launch a grasshopper script without the full GH UI its a zombie until you close Rhino.
Cheers
DK

