A button for terminate a script running
Answers
-
Hi,
If your script run for long time due to hypermesh command (you feel hm freezing), stop it by holding down RMB on graphic area
If your script run for long time due to some loops (ex: for..., while,...), stop it by a break, example: if {::stop} {break} and the button will set ::stop = 1 when clicked
remember to 'update' GUI within loops otherwise the button will frozen also and you cannot activate it
0 -
Altair Forum User said:
Hi,
If your script run for long time due to hypermesh command (you feel hm freezing), stop it by holding down RMB on graphic area
If your script run for long time due to some loops (ex: for..., while,...), stop it by a break, example: if {::stop} {break} and the button will set ::stop = 1 when clicked
remember to 'update' GUI within loops otherwise the button will frozen also and you cannot activate it
thank you
0