Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5890

Exit Grasshopper and Rhino from python script

$
0
0

I also got the problem described in the following threads:

import rhinoscriptsyntax as rs
rs.Command("_Exit")
rs.Exit()

don’t work when executed in an ‘if’ clause. If I click “Test code”, it works as expected.


I call the python component for closing Rhino and GH at the end of my solution. I could kill the process from within a python component, but that could lead to license issues (Killing a Rhino.exe process does not free a license in Zoo)at

Has anything changed on this topic or is it still a problem?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5890

Trending Articles