Run TCL script from command promt
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
Answers
-
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
0