🎉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

Run TCL script from command promt

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi there,

 

I have written a .tcl script that can be run in Hyperworks (File>Run>Tcl/Tk scripts))

is there a way such that I can run this script from the command window?

 

I have tried the following:

 

C:/altair/hm/bin/win64/hmbatch.exe -tcl H:/3.Stress/Stress_Strain Processing/animate_one_all_pages_RFaxis.tcl

 

however, this does not seem to work. -tcl <file> must be used with the hmbatch option?

 

Cheers,
Rob

 

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi,

    if you run in hyperview

    C:/altair/hw/bin/win64/hw.exe -tcl H:/3.Stress/Stress_Strain Processing/animate_one_all_pages_RFaxis.tcl

     

     

    if you want to hide hypetview window, add 'wm withdraw .' at the beginning of your tcl file, and end the file with 'exit'

     

     

    if you run in hypermesh:

    C:/altair/hm/bin/win64/hmopengl.exe -batchmesher -noconsole -tcl H:/3.Stress/Stress_Strain Processing/animate_one_all_pages_RFaxis.tcl