Python keyboard interrupt?


#1

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.


#2

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?


#3

Thanks @JacobSmall. I’ve put in the request here: https://github.com/DynamoDS/Dynamo/issues/9566


#4

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