Python keyboard interrupt?

Is there any way to do a keyboard interrupt for a stuck Python loop in a Dynamo graph (similar to CTRL-C in regular Python)?

I need have some while loops in my code, and I’ve tried to build in some safety checks, but if I accidentally click save without my loop being perfect, I end up losing all of my work to have to force-quit out of Dynamo / Revit.

Not sure this exists, but someone could prove me wrong. Either way we need to change something (add the feature or update documentation). Can you make a request at the github site @djhballinger?

Thanks @JacobSmall. I’ve put in the request here:

Thanks @djhballinger. Looks like it’s already been read and filed into the correct areas. :slight_smile: