+ Reply to Thread
Results 1 to 2 of 2

Thread: Kill button

  1. #1

    Kill button

    Hi Steve,

    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?

    Thanks,
    Paolo

    FORUM BUG (maybe):
    I tryed to use the undo/redo button while writing this message and the result has been a blank page..

  2. #2
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,464
    Blog Entries
    19
    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.
    Python Code:
      Rhino.RhinoApp.Wait()

    Wait() let's Rhino process its paint message and redraw.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts