🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Start MotionView Python Script from Windows Command Line

User: "TobiGr"
Altair Community Member

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

Sort by:
1 - 1 of 11
    User: "Praful"
    Altair Employee
    Accepted Answer

    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