The Asset Editor allows you to manage all the assets in your scene from a single window. It consists of two panels.
Similar to the Outliner, the left panel displays a list of all the assets in your scene and their attributes. From this panel, you can
The right panel displays template binding information for the asset selected in the left panel. From the right panel you can
You can use the Asset Editor to manage the binding between published names and internal node attributes. The Asset Editor is also the main interface for managing the templates in your scene. Aside from these two functions, you can also publish/unpublish attributes, add and remove nodes from assets, create Views and Binding Sets, and perform any other asset-related operations.
The Asset Editor has two modes of operation. In Select Asset mode, you can quickly traverse from asset to asset and show individual asset’s node contents and attributes.
In Pinned Asset mode, you can publish or unpublish attributes in the left panel and bind and unbind attributes in the right panel. You can also create Views and Binding Sets.
You can switch between these modes by selecting an asset and clicking the Pin Asset icon .
In the left panel, a selected attribute appears highlighted and. In the right panel, a selected attribute appears with an arrow icon.
To... | Do this |
---|---|
Switch to Pinned Asset mode | Select an asset in the left panel, then click the Pin Asset icon . |
Expand or collapse the level under a node |
Click the plus or minus icon next to the node’s name. |
Expand all levels under a node |
Shift + click the plus icon next to the node’s name. |
Show or hide the attributes on a node |
Click the plus () or minus () icon next to the node’s name. You can further expand multi-value attributes. |
Re-order nodes in the hierarchy |
Middle-drag the node to a new place in the hierarchy. |
Move a node from one asset to another |
Middle-drag the node in one asset onto another asset. |
Make a node a child of another node |
Middle-drag the node onto the node you want to be its parent. |
Search for a specific node | Enter the full or partial name of the node you are sourcing for in the text field and press Enter. |
To... | Do this |
---|---|
Publish an attribute |
In the left panel, select the attribute you want to publish, then click the Publish icon or Publish As icon . |
Unpublish an attribute | In the left panel, select the attribute you want to unpublish and click the Unpublish icon . |
Assign a template | Select Template > Assign and choose a template from the list that appears or select Assign New Template and select the asset from the file browser. |
Save the published names of the pinned asset as a template | Select Template > Save As and enter a template name and location. |
Select an attribute | Select the attribute’s name in the left panel, or click the box containing a small arrow next to its name in the right panel. |
Bind/Unbind an attribute or node | Click the Bind icon or Unbind icon next to the attribute or node’s name in the right panel. |
Rename a published attribute or node | Select the attribute or node in the right panel and click the Rename icon . |
Add a view to the current template | With a template currently loaded, select View > Add. |
Create a binding set from the current published attributes | With the template currently loaded, select Template > Create Binding Set. Maya adds a binding set called MayaBinding to the template. |
Update the current binding set with the current published attributes | With the template currently loaded, select Template > Update Binding Set. |
Remove a binding set | With the template currently loaded, select Template > Remove Binding Set. Maya removes the binding set called ‘MayaBinding.’ |
Refresh the left and right panel | Click the Refresh icon (). |
You can select multiple published names or attributes by Shift + clicking them.
Asset Editor buttons control how attributes are published or bound.
Pins a selected asset for editing. The Asset Editor changes to Pinned Asset mode, and only the selected asset displays in the left panel. Its published bound and unbound attributes display for editing in the right panel.
Click the icon again to unpin the currently selected asset and return to Select Asset mode. When in Select Asset mode, all assets display in the left panel while the right panel is empty.
Selects a published name in the right panel. The select icon appears in three colors.
Green indicates the published name comes from the assigned template.
Yellow indicates there is a template assigned to the asset, but the selected published name does not originate from it.
Red indicates there is no template assigned to the asset.
Publishes the selected attribute to the lowest level asset that encapsulates it. The attribute is bound to a default published name that matches the attribute name.
If an identical published name already exists on the asset, your new published name will have a number appended to it.
Publishes the selected attribute to the lowest level asset encapsulating it. The attribute is bound to a published name of your choice.
Unbinds the selected attribute from its published name and removes the published name from the asset. You can only unpublish attributes whose names are not derived from an assigned template.
Unbinds all selected published names from their corresponding attributes.
Creates a published name on the asset without binding an attribute to it.
Removes a published name from the asset.
You can only remove published names that are unbound and do not originate from an assigned template.
Renames a published name.
You can only rename published names for attributes and nodes that do not originate from an assigned template.
Updates the right panel.
Binds or unbinds the selected attribute from its corresponding published name.
For information on the Display and Show menus, see the Outliner.
For information on the Asset menu, see Assets.
For information on Transfer Attribute Values, see Transfer Attribute Values Options.
The Template menu in the Asset Editor gives you all of the options for creating and assigning templates to your assets.
The Template menu is only available when you are in Pinned Asset mode.
The Template menu contains the following options:
Lets you select and assign a template to the currently pinned asset.
Breaks the association between the pinned asset and its assigned template. See Unassign a template from an asset.
Saves the published names from the pinned asset to the template file. See Save an asset template.
Lets you create a new template of published names from the pinned asset. See Save an asset template.
Automatically publishes and binds published names in the template to attributes in the asset based on a binding set. This option is only available if the current template has a valid binding set.
By default, Autobind Asset only considers unbound published names.
When turned on, the Autobind Asset command considers all published names (both bound and unbound).
When turned on, the Autobind Asset command completely enforces the template’s binding set so that the resulting asset matches it. If a match is not found in the binding set for an existing published name, Maya forcibly unbinds it.
Creates binding set entries in the current template based on the asset’s current published attributes.
Updates the binding set entries for the currently assigned template with the asset’s current published attributes.
Removes all binding set entries from the current template.
Reloads the assigned template. See Reload an asset template.
The View menu in the Asset Editor gives you all of the options for creating customized asset layouts.
Before working with views, you must create a template for your asset. For more information on creating asset templates, see Create an asset template.
After you add a view to the template, you can edit the template file to change the view layout. For more information on customizing views, see Customize the template view.
The View menu contains the following options:
Lets you select from two default layouts, or use a custom view layout of the asset’s attributes. Select from the following options:
Displays the asset’s published attribute names in a list. This is a default view that does not use the template.
Displays the asset’s published attribute names based on its current template. When Use Template is selected, you can select a custom view from the View > Name menu item.
Displays the asset’s published attribute names in groups based on the node to which they are bound. This is a default view that does not use the template.
Lets you select from a list of available template views. This option is only available when the View Mode is set to Use Template.
If the template has no views defined, or if you set the Name to None, the published attributes display in the order they are defined in the template.
Adds a new view to the assigned template based on default options. The new view is named viewName by default. See Add a custom view to a container template.
Lets you enter a name for the view. This is the name that will display in the View > Name list in the Asset Editor and in the View Name field in the Attribute Editor.
When on, Maya adds to the template any published names from the asset that are not yet saved to the template. Any added names are included in the new view.
When on, the template is saved to the template file on disk with the new view included. When off, the new view is added internally, but the template file is not saved.
When on, the right panel of the Asset Editor will update to display the asset with the newly created custom view organizing the published attribute names.
Sets whether compound attributes are included in the view definition as individual entries. This affects how the view will display the attributes in Maya’s windows and editors.
When on, child attributes are included in the view individually, and they display with independent interface controls.
For example, individual sliders and value fields will display for translateX, translateY, and translateZ.
When Expand Compounds is off, child attributes are not individually listed in the view. The parent attribute (with its children) is displayed using a group control.
Lets you select Flat or Group by Node as the original layout of published names in the new view.
After the view is added to your template, you can edit the template to change its layout. See Customize the template view.