Jump to content

Running a TCL through HM platform

Recommended Posts



I would like to know if I can write a batch file to run a tcl script through the HM platform without actually needing to open Hypermesh .?

My code is written such that it can run via Wish console, but in my office where this macro will be used, only hypermesh is available to run tcl codes.

Also as this work does not require HM to be open, I don't want to use the FILE -> RUN option in hypermesh (making it more user friendly by not asking him/her to open hm). 


Is there any way to create a batch to execute this file ? 

Share this post

Link to post
Share on other sites

D:\Altair\14.0\hw\tcl\tcl8.5.9\win64\bin\wish85 Y:\Cae\TCLTK_BG913\pedpro_request.tcl


I wrote it like that in notepad and saved as a .bat file. It is working.

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.

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