🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to stop the .tcl script in HyperView while running?

User: "Thirukumaran"
Altair Community Member
Updated by Thirukumaran

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 

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Michael Herve"
    Altair Employee
    Updated by Michael Herve

    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 .msg

    puts "Task A done ......."

    stopScript "Do task B ....";tkwait window .msg

    puts "Task B done ......."

    stopScript "Do task C ....";tkwait window .msg

    puts "Task C done ......."


    Can you please test it?

     

    Best Regards,

    Michael

    User: "Thirukumaran"
    Altair Community Member
    OP
    Updated by Thirukumaran

    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 .msg

    puts "Task A done ......."

    stopScript "Do task B ....";tkwait window .msg

    puts "Task B done ......."

    stopScript "Do task C ....";tkwait window .msg

    puts "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 

    User: "Carlos Flauzino_22279"
    Altair Community Member
    Updated by Carlos Flauzino_22279

    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.