Import a template

Place a template in a node in
Project view
to add the object, object type, or a variable to the project.
TIP: If the template is a graphic object, you can drag the graphic element from the library to the editor.
  1. From the main toolbar, select
    Template Libraries
    .
  2. (optional) In
    Libraries
    , select
    Configure
    and then select
    Preserve paths on library elements
    .
    TIP:
    By default, importing a template with dependencies creates the objects in the parent node of the imported template. Preserve paths on library elements to import template dependencies to their original nodes.
    For example, if you import a widget that depends on objects located in the
    Model
    folder, select
    Preserve paths on library elements
    to recreate the objects in the Model folder.
  3. Either:
    • Drag a template from the library into a node in
      Project view
      .
    • Drag a graphic object template from
      Libraries
      to the editor or
      Project view
      .
  4. If the template is an object type, select either:
    • Import as type
      . Add an object type based on the template into the project.
    • Import as instance
      . Add an object instance based on the template into the project.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal