Show in Contents
Add to Favorites
Home: Autodesk Maya Online Help
Organize container templates into packages
Creating templates and views
Set the active view for a container
Add a view to a container
template
You can add multiple views to each template,
creating as many customized layouts of the container’s attributes
as you need.
After you have added
a view to a template, you can edit the template file to customize
the view layout. See
Customize a template view.
To add a view to a template
- In the left panel of the Asset
Editor, select a container that has a template assigned,
then click the Pin icon .
- From the Asset Editor menu
bar, select View > Add > .
The Add
View Options dialog box appears.
- In the Add View Options,
do the following:
- Enter a name for the new view.
This name will display
when you select views in the View > Name list
in the Asset Editor, or in the View
Name field in the Attribute Editor.
When a container is set to use this view, the name also displays
as a heading in the container’s Asset Editor and Attribute
Editor.
- Define the view options you want. See
Asset Editor for
a description of each option.
Tip
- Leave the Layout Mode set
to Group By Node if you plan to
customize this view. This option organizes the attributes into groups
in the XML template file, making it easier for you to find and organize
them later. See
- Turn Expand Compounds on
if you want child attributes of compounds to have their own individual
interface controls in this view.
- Click Apply and Close.
Depending on the Add
View Options you selected, the new view becomes the active
view for the pinned container.
TipIf you plan to lock
your container but you want to give your team members the ability
to switch between views, publish the viewName attribute to your
container after you add new views to its template.