dane_ Posted July 31, 2020 Share Posted July 31, 2020 I have some bad code where I get stuck in a while loop. How do I kill the script without force quitting Vectorworks and losing unsaved changes? Thanks Quote Link to comment
Pat Stanford Posted July 31, 2020 Share Posted July 31, 2020 If you are lucky ESCape or Command-. (period) might get you out of the loop. But if the loop is really fast, there might not be time for keyboard polling in between. You might want to put a delay into the loop while you are working on the code to give you a better chance to be able to cancel. vs.wait(1) 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.