Cancel command during execution

Hi there,

We have a Rhino C++ command that takes quite a bit of time to complete, and we’d like to let the user cancel it at any time. While selecting the parameters it’s fine if the user presses Esc, but during the actual execution, nothing happens when pressing it.

Is there a proper way to handle Esc and cancel the command execution?

Thanks,

Pau

Hi @pau.argelaguet,

Does this help?

– Dale

Thanks Dale, I didn’t find that post before!