MotionView model in MotionSolve Jupiter Notebook?

Jigar
Jigar Altair Community Member

How to access the MotionView model in MotionSolve Jupyter Notebook

Also in MotionSolve Jupyter Notebook command from hw import mview gives error no hw modules

Does Current MotionSolve Jupyter Notebook supports only postprocess data and run model which is entirely build inside notebook?

Answers

  • GTT Adam
    GTT Adam
    Altair Employee

    Hi @Jigar,

    In the Help Documentation for Jupyter Reports for Full Vehicles and Suspension Analyses, it shows the following:

    "Jupyter reports in MotionView (for Vehicle Models) will take advantage of the interactivity and extensibility that the application offers and provide simulation reports that are created immediately after the solver execution, and are easily editable and sharable."

    Based on this statement, Jupyter Reports look to be for post-processing only.

    Hope this helps!

    Adam Reid

  • Christopher_Fadanelli
    Christopher_Fadanelli
    Altair Employee

    Hi @Jigar ,

    The MotionSolve Jupyter Notebook can only use the msolve api not the mview api.

    You are able to create, run and post process models in Jupyter notebook.

    You can directly create a MotionSolve Jupyter Notebook session from the Start Menu in Windows or by invoking the respective script in Linux. After invoking the first Jupyter session the tutorials are being placed under:

    • Windows: C:\Users\{USER_NAME}\Documents\Altair\MotionSolveNotebooks\demos
    • Linux: /home/{USER_NAME}/Documents/MotionSolveNotebooks/demos

    The tutorials can also be found in your Altair installation folder:

    • {ALTAIR_INSTALL_PATH}\hwsolvers\demos\motionsolve\jupyter

    For detailed documentation of the mview library, please access the MotionView Python Reference Guide.

    For detailed documentation of the msolve library, please access the MotionSolve API Site.

    Hope this helps!

    Christopher Fadanelli

  • GTT Adam
    GTT Adam
    Altair Employee

    Nice one @Christopher_Fadanelli!

    For some reason the Help Documentation only finds the link I provided when you search for "jupyter" and does not point to these tutorials. That should be corrected.

    Thanks,

    Adam Reid

  • Christopher_Fadanelli
    Christopher_Fadanelli
    Altair Employee

    Thanks @GTT Adam !

    The Juptyer demo documentation is apparent in the msolve api site. So it wouldn't have been tagged in the help documentation page. I'll raise a ticket to include this in the help page.

    Thanks,

    Christopher Fadanelli