Running Hypermesh in batch mode with command file

AviA
AviA New Altair Community Member
edited September 2021 in Community Q&A

Hi,

I'm trying to automate a fairly basic task which is to be done repeatedly. I've prepared a command file (.cmf) for this. I want to run Hypermesh in batch mode. I found that the way to run hmbatch with tcl file is:

C:\..\hmbatch.exe -tcl myfile.tcl

Can somebody please tell me how to do that for .cmf file?

Will it just be replacing -cmf instead of -tcl?

 

Tagged:

Answers

  • AviA
    AviA New Altair Community Member
    edited September 2021

    I forgot to add that running C:/.../hmbatch.exe -c Myfile.cmf , produces the following error:

    -c <commandfile> or -tcl <file> must be used with the hmbatch option.

    Isn't that what I'm doing? I tried running as adminstrator also, but it didn't help.

    The command file works perfectly as intended when run from within the GUI.