Jump to content

Recommended Posts

Hi All,

I have to run in batch mode a tcl file, in which a meshing process is recorded.

Is there a guide or some tutorials?

The tcl is perfectly working if i run it from Hypermesh, but it doesn't if I use hmbatch.exe

 

Thanks,

Enrico

Share this post


Link to post
Share on other sites

Hello @Enrico

 

In most cases you have to load the template file, instead of select UserProfile.

Please try to add the this line for beginning of your script.


*templatefileset [file join [hm_info -appinfo ALTAIR_HOME] templates feoutput optistruct optistruct]

Note: If you are not using OptiStruct profile, please change to your user-profile.

 

Thanks,
Imoto

Merula likes this

Share this post


Link to post
Share on other sites
11 hours ago, Enrico said:

Hi All,

I have to run in batch mode a tcl file, in which a meshing process is recorded.

Is there a guide or some tutorials?

The tcl is perfectly working if i run it from Hypermesh, but it doesn't if I use hmbatch.exe

 

Thanks,

Enrico

 

Hmbatch.exe will call hmopengl.exe

 

So you can call hmopengl.exe directly and hide its GUI by prepending this line:

wm withdraw .

And append "exit" 

 

 

Pandurang and Livil Lyle like 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...