I am trying to find a way to escape python commands and this developer page looks like it should help: Canceling a Python script in Rhino but only the first two code snippets are python then the rest of the page is in VB?
The escape examples work as scripts BUT as commands they do not.
I am finding that in commands rs.sleep() does slow down the but does not give rhino a chance to listen to scriptcontext.escpae_test()
And in commands Rhino.RhinoApp.Wait() has no effect
Has anyone found a way to successful escape python commands in rhino 5?