Preparing and Using Model Templates
Complete models or parts of models can be saved from the Innovator model editor into a base or add-on template file.
Model Templates
The menu commands for selecting and saving models and model parts for a model template are only available in the Innovator model editor.
In this chapter you will learn about
- What content is in base and add-on templates
- How to save models or model parts as model templates
- How to load an add-on template to expand the configuration
You can copy and paste model elements and use model fragments as alternatives to base and add-on templates.
Base Templates
Multiple system models or parts of the models can be saved from the Innovator model editor into a base template file. Base templates are provided as model templates for creating new models.
Files for base templates are stored in the $INOPRJ/config/option directory.
The following settings are saved from the model into a base template file.
-
Always contains the selected or superordinate system models
-
Profiles that are imported directly or indirectly from the system models and their selected models
-
Selected structure elements (packages etc.) and other selected model elements within the system models
For referenced elements (for example, through create defaults) that are not part of the selection, the template generates placeholders.
Add-On Templates
An add-on template file may only contain one system model or parts of this one model.
Files for add-on templates are stored in the $INOPRJ/config/addon directory.
The following settings are saved from the model into an add-on template file.
-
Can contain a system model
-
Profiles that are directly imported either from the selected system model and its models or from the selected models within a system model
-
Selected structure elements that are added to the existing model during the subsequent loading of the add-on
These can be additional packages, create defaults etc. - However, in principle, any versionable model element can be part of an add-on template. The assignment takes place via the namespace, and might generate placeholders.
This chapter contains the topics: