Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5793

How to exit a script on error?

$
0
0

@LeoPedersen wrote:

I'm working on some very long Rhinoscripts which automate madCAM toolpath generation.

I'd like to include error checking and have my scripts stop automatically when the required objects or layers don't exist in the current Rhino document.

I've searched extensively and can only find the Exit Sub command but I need an "Exit Script" command.

Any tips would be greatly appreciated!

Leo

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5793