Jump to content
drwill

Run a script from cmd windows

Recommended Posts

HI fellows,

 

i have a cool script which creates a parametric model and export a .inp. I was wondering how my colleagues could run the script  outside Hypermesh. I mean, i want them to run the script from cmd.exe of Windows system , no need to open Hypermesh interface but only from MSDOS windows.

 

Is it possible?

Thank you all :)

Share this post


Link to post
Share on other sites

I don't remember option to start hypermesh without GUI

but if you don't want to see it. in your cool script, add below command at beginning:

wm withdraw .

<your script commands>

#quit hypermesh if no need to save hm file:

destroy .

 

so try start your session from cmd:

<altairhome>\hm\bin\win64\hmopengl -tcl <your script file path>

 

drwill likes this

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