The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
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.
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…