Jump to content

Recommended Posts

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

Pendu_wizard.zip

Share this post


Link to post
Share on other sites
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

Pendu_wizard.zip

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...