Hi,
I have a python script running directly in Rhino using the new ScriptEditor.
In a for loop i added the below
for i, element in enumerate(elements):
if Rhino.RhinoApp.EscapeKeyPressed:
print("Cancelled by user.")
break
However it’s breaking also without pressing escape. Seems like a python bug to me. Usually works fine in C# in my compiled plugins.
4 posts - 3 participants