A program to recognize and reward our most engaged community members
Hello,
I have a query regarding the TCL scripting in HyperView. How to stop my TCL script in HyperView in order to rotate the model and continue running the script? Kindly share of inputs with this regards.
Thanks in advance,
Thirukumaran Subbian
one colleague of mine proposed me the following procedure couple of weeks ago:
proc stopScript {message} {# Create and arrange the dialog contents. toplevel .msg wm geometry .msg 300x150 label .msg.l -text $message button .msg.ok -text Proceed -default active -command {destroy .msg} pack .msg.ok -side bottom -fill x pack .msg.l -expand 1 -fill both}puts "start doing your thing"stopScript "Do task A ...";tkwait window .msgputs "Task A done ......."stopScript "Do task B ....";tkwait window .msgputs "Task B done ......."stopScript "Do task C ....";tkwait window .msgputs "Task C done ......."Can you please test it?
Best Regards,
Michael
Hello, one colleague of mine proposed me the following procedure couple of weeks ago: proc stopScript {message} {# Create and arrange the dialog contents. toplevel .msg wm geometry .msg 300x150 label .msg.l -text $message button .msg.ok -text Proceed -default active -command {destroy .msg} pack .msg.ok -side bottom -fill x pack .msg.l -expand 1 -fill both}puts "start doing your thing"stopScript "Do task A ...";tkwait window .msgputs "Task A done ......."stopScript "Do task B ....";tkwait window .msgputs "Task B done ......."stopScript "Do task C ....";tkwait window .msgputs "Task C done ......."Can you please test it? Best Regards, Michael
Hello Michael,
Thank you for your valuable inputs. We will update you once we test this case and share our feedback on this.
Thank you,
Thirukumaran
Hello Michael, Thank you for your valuable inputs. We will update you once we test this case and share our feedback on this. Thank you, Thirukumaran
Hi Thirukumaran,
If you want to make it more automatic, you can use the *view command to adjust the position as needed and then take a screen capture, for example, without stopping the script.
Here is the command information in case you need it: https://help.altair.com/hwdesktop/hwd/topics/reference/hm/_view.htm
I hope this helps you!
Flauzino, C.