I am running a huge calculation through python script. Is there a way to force break out of the script other than to force close Rhino?
Thanks!
I am running a huge calculation through python script. Is there a way to force break out of the script other than to force close Rhino?
Thanks!
To make Rhino respond to ESC key during a tight loop, add a scriptcontext.escape_test
to the first line of the loop:
import scriptcontext
def DoSomething():
for i in xrange(10000):
if scriptcontext.escape_test(False): return
print i
DoSomething()
c.
Great! Thank you!