regarding creating a template

Altair Forum User
Altair Forum User
Altair Employee
edited October 2023 in Community Q&A

How to build a vehicle custom template in motionview??

We are building three wheeled vehicle with two wheels at the  front and one wheel at the rear.

Answers

  • Praful
    Praful
    Altair Employee
    edited October 2023

    Hello Rajesh -

    Custom templates in MotionView is driven through Assembly Wizard (Model menu) and Task Wizard (Analysis menu)

    These wizards are defined through wizard files. (.wzd) that defines the wizard GUI and instantiates systems/

     

    Creating a wizard consists of following broad steps

     

    1. For each of the sub-assembly, you can develop a system definition in MotionView and export  it in the .mdl format (Systems Panel > Import/Export tab)

    2. Build a wizard definition (.wzd) using the Wizard language (syntax is available in help) that presents GUI choices for selecting systems.

    3. Change the Wizard paths in the Model > Set Wizard Paths. You may change to User/Custom library to begin with. Change only the model wizard and task wizard options

     

    Now, whenever Assembly wizard is invoked, it should present the wizard related to your library.

     

    I am attaching here a simple example that should demonstrate how the wizard and library can be built. After unzipping,  just follow step 3 above (as 1 & 2 is already done) to exercise the example.

    Note that often after system definition is created, it might have to be tweaked manually using a text editor.

     

    Good luck !

    Praful

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2023
    On 3/23/2019 at 8:49 PM, ppraf said:

    Hello Rajesh -

    Custom templates in MotionView is driven through Assembly Wizard (Model menu) and Task Wizard (Analysis menu)

    These wizards are defined through wizard files. (.wzd) that defines the wizard GUI and instantiates systems/

     

    Creating a wizard consists of following broad steps

     

    1. For each of the sub-assembly, you can develop a system definition in MotionView and export  it in the .mdl format (Systems Panel > Import/Export tab)

    2. Build a wizard definition (.wzd) using the Wizard language (syntax is available in help) that presents GUI choices for selecting systems.

    3. Change the Wizard paths in the Model > Set Wizard Paths. You may change to User/Custom library to begin with. Change only the model wizard and task wizard options

     

    Now, whenever Assembly wizard is invoked, it should present the wizard related to your library.

     

    I am attaching here a simple example that should demonstrate how the wizard and library can be built. After unzipping,  just follow step 3 above (as 1 & 2 is already done) to exercise the example.

    Note that often after system definition is created, it might have to be tweaked manually using a text editor.

     

    Good luck !

    Praful

    how to create a model file and wizard file can u elaborate.

  • AltairLiz
    AltairLiz
    Altair Employee
    edited October 2023

    Here is the attachment that Praful Prabhu provided in his above response.