Jump to content
RobertRobinson

Run TCL script from command promt

Recommended Posts

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

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...