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, 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, with
    Preserve paths on library elements
    enabled, if you import a widget that depends on objects located in the
    Model
    folder, the objects will be recreated 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.