![](/images/new-backgrounds/1214202/214202537x1.webp)
Chapter 6 Generating from an XML model
The model generation process allows you to define the target object of a shortcut in a generated model.
For example, here is the proper sequence of events for external shortcuts generation:
♦Model 1 is the target model of a shortcut in Model 2
♦Model 1 is generated to Model 1.1
♦Model 2 is prepared for generation to Model 2.2 by associating appropriate parameters in the Target Models page:
If Model 1 is still opened in the workspace The Target Models column displays the original target model (Model 1), and its path. The Generated Models column displays the last generated model the first time you generate Model 1; the next time you generate Model 1, the Generated Models column displays the last model selected. You can click the arrow in the Generated Models column to modify the model selection in order to allow the creation of a correctly linked shortcut.
If Model 1 is closed in the workspace The Target Models column displays the original target model (Model 1), and its path. The Generated Models column displays <none>. When you click into the Generated Models column, the original target model Model 1 is automatically opened in the workspace in order to find the models generated from Model 1. You can use the arrow to select Model 1.1, the new target that will allow the creation of a correctly linked shortcut in Model 2.2.
♦The external shortcut in Model 2.2 is correctly generated with a link to its target object in Model 1.1.
For more information on shortcuts, see chapter Managing Shortcuts in the General Features Guide.
XSM User's Guide | 257 |