Creating a container
 
 
 

A container is the first building block of an asset and is used to contain related nodes in your scene. A container is not visible in the main viewport, but you can select it from the Outliner, Hypergraph Connections editor, and Asset Editor.

In this case, all the fire truck components (including lights) are grouped together. This is important because you want the fire truck components to move together when animated. Thus, the fire truck group node is the central node to the container, and thus will become the container’s root node.

To create a container for the fire truck

  1. Select Fire_truck_GRP in the Outliner.
  2. Select Assets > Create Container > .

    The Create Container options window appears.

  3. In the Create Container options window, select Edit > Reset Settings.
  4. Under Create Container Effect, set the Name to Fire_truck_CNT.
  5. Under the Include Options, turn on Include Shaders and Include Hierarchy, and set the hierarchy to Below (including shapes).

    Setting these options ensures that everything the firetruck needs to maintain its current appearance is packaged into the container.

  6. In the Publish Options, turn on Root Transform and Root Attributes.

    Setting these two options automatically publishes Fire_truck_GRP as the container’s root node (thus allowing it to be a parent or child in a scene) and publishes its attributes to the container so that they can be tweaked from the container’s interface.

  7. Click Apply and Close.

    Maya encapsulates the fire truck in a container.