Jump to content

system exit


---
 Share

Recommended Posts

I want to take a measurement on a part repeatedly. How can I cancel the script before the end? I used the "Info Dialog (Skript läuft weiter)" for this.

Link to comment
Share on other sites

You can use

gom.script.sys.close_user_defined_dialog (dialog=DIALOG)

either from the dialog handler (e.g. by handling an 'Exit' button event) or anywhere else.

Closing the dialog will end execution.

Edited
Link to comment
Share on other sites

  • 1 month later...
 Share

×
×
  • Create New...