Find more posts tagged with
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.
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