Create a template
Use a template to create objects, object types, and variables that have similar attributes.
- SelectTemplate Libraries
- (optional) InLibraries, selectPreserve paths on library elements.TIP:By default, if you import a template with dependencies, the objects are created in the parent node of the imported template. Preserving paths on library elements allows you to import template dependencies into their original nodes.For example, withPreserve paths on library elementsenabled, if you import a widget that depends on objects located in theModelfolder, the objects will be recreated in theModelfolder.
- FromProject view, drag the node into a library inTemplate Libraries.For example, drag an object, object type, variable, or widget.
- If prompted, resolve object type conflicts.Type conflicts occur when object types of the new template duplicate object types of an existing template.To address object type conflicts select either:
- Skip. Do not update a specific object type. Keep the existing object type in the project.
- Replace. Replace a specific existing object type with a new object type.
- Rename. Rename a specific new object type with a unique name. Retain the existing object type.
- Skip all. Do not update any object types. Keep the existing object types in the project.
- Replace all. Replace all existing object types with new object types.
- Rename all. Rename all object types to with unique names. Retain the existing object types.
- (optional) Select the template and enter a description.For example, explain how to use or implement the object, object type, variable, or widget.
Provide Feedback