is it possible to add a special key which allows to kill a script while it is running? I mean something like holding the ESC button for Rhinoscript.
I want to ask you also about a certain delay in the behaviour of the interpreter. This is more or less the same topic I talked about in a previous post (PyRelaxation). Even if the interpreter behaves much better since that time, there still seems to be a gap between calculation and visualization for long cycles. For instance Rhino freezes until the end of the script without 'live' drawing what I expected, just showing the final result. Is this to be considered a temporary problem or there's no way for Python in Rhino to completely eliminate the delay?
FORUM BUG (maybe):
I tryed to use the undo/redo button while writing this message and the result has been a blank page..
I added this to my wish list. I'm sure we can get something to work for killing your script.
Try adding the following to your script to see if it does a better job updating.
Wait() let's Rhino process its paint message and redraw.