Start MotionView Python Script from Windows Command Line
Hello,
is there an option to start MotionView with a specified python script?
I want to automate model creation for generating parametric studies on a linkage. For this, I first create Python Scripts that builds the model if pasted into the python console in MV.
On Linux, I can simply run mview -f myPythonScript.py
from the command line in order to start MotionView and execute the specified python script that builds up the model. This is convenient for creating thousands of models automatically.
On Windows, I cannot find an executable to just start MV (such as mview.exe
or something). I also had no success altering the runhwx.exe
command that is used to start MotionView from the start menu.
Has anyone had similar issues or an idea how to solve this?
Best Regards
Tobi
Hello Tobi
Could you please try hw.exe ?
"C:\Program Files\Altair\2025\hwdesktop\hw\bin\win64\hw.exe" -clientconfig hwmbdmodel.dat -f myPythonScript.py
regards
Praful