After you have saved a container template, you can assign it to other containers.
When you assign a template to another container, all published names from the template that do not already exist on that container are automatically published. This means they are automatically added to the container. You can then bind the relevant attributes from nodes within the container to the published names from the template.
You can assign a template using the Asset Editor or Attribute Editor.
To assign a template using the Asset Editor
The pinned container’s published attributes and nodes display in the right panel, and its name displays in the Asset Editor title bar.
A file browser opens to the assets sub-directory of your current project.
The template is assigned to the selected container, and its published names are listed under the Unbound heading in the right panel of the Asset Editor. The name of the assigned template displays in the Template field above the right panel.
When a container has no template assigned, the Select icons next to each published attribute or node in the right panel display in red to indicate that no template is assigned. When you assign a template to a container, the Select icons change to green or yellow to indicate whether the published name comes from the assigned template. Green indicates that the published attribute’s name comes from the assigned template, and yellow indicates that the published name does not.
Now that you have assigned the template with its list of published names, you can go on to bind the attributes of the container’s nodes to those published names.
To bind attributes to published names from a template
The container’s published attributes (bound and unbound) and its published nodes display in the right panel. The unbound published names from the template are available under the Unbound heading.
Note that any attributes already bound to published names display in italics. If you want any currently bound attribute to use a published name from the template instead, you must unbind it first.
The attribute you selected in the left panel is now published and bound to the name you selected in the right panel. When you refresh the Asset Editor, the attribute moves to the bound attribute listing for the given node.
(See also Bind/unbind an attribute.)
To un-assign a container template
The template is unassigned, and the Asset Editor refreshes. The Select icons next to each published attribute turn red to indicate there is no template assigned.