Does Hypermesh have a batch mode for running python scripts?

I am using Hypermesh 2025. I am migrating from .tcl scripts. I have a fully written python script that I want to run from the command console without the GUI. Previously, this was done with .tcl scripting but I don't see the python alternative for running Hypermesh in batch mode.
Is there no option to run Hypermesh in batch mode with a python script yet?
Answers
-
Hello William,
Sure, you can run python script for HyperMesh in batch mode using -b and -f with the following commands :
<altair_home>\hwx\bin\win64\runhwx.exe -client HyperworksDesktop -plugin HyperworksGeneral -profile HyperworksGeneral -b -f <python_file_path>For instance:
D:\Altair\2025\hwdesktop\hwx\bin\win64\runhwx.exe -client HyperworksDesktop -plugin HyperworksGeneral -profile HyperworksGeneral -b -f D:\batch_temp.pyPlease review this article for more details:
https://community.altair.com/discussion/60961/get-the-arguments-under-control-running-hypermesh-2025-in-batch-with-pythonRegards,
Fred.0 -
Hi Fred,
I've tried that method and related posts to batch processing. None has worked so far.
When I run it as this, it prints "hello" just fine:
"C:\Program Files\Altair\2025\hwdesktop\hwx\bin\win64\runhwx.exe" -client HyperworksDesktop -plugin HyperworksGeneral -profile HyperworksGeneral -f D:\check.py
However, nothing shows in the command prompt or task manager when I run it with "-b":
"C:\Program Files\Altair\2025\hwdesktop\hwx\bin\win64\runhwx.exe" -client HyperworksDesktop -plugin HyperworksGeneral -profile HyperworksGeneral -b -f D:\check.py
I expect to see it print "Hello" as I would with a -tcl script, but nothing happens.
I may be wrong, but it seems like Hypermesh 2025 desktop does not have "-b" as a working feature for me.
Sincerely, William
0 -
Is there anyway I can get further assistance on this issue?
Sincerely, William
0