In 3ds Max 2010 and higher, a Container is a helper object in the scene. Once created, the user can choose its content, that is, nodes that are meant to be grouped together. Containers should be self-contained blocks without references from the content to nodes outside of the container, otherwise the references will be lost during operation of the container. Containers hold the content and moving or deleting a container will affect the content, but containers and content are not the same thing. |
|
For example, content can be unloaded, while the container remains in the scene. The container is associated with a container definition file, which is a 3ds Max file that stores only the container and its contents. Container definitions are tracked as file assets. |
Containers can be created locally and used to organize scenes in ways that are similar to the uses of groups or layers. This provides a way to collect a bunch of nodes and work with them as one, or to section part of your scene to share with others.
If a localContainer has no content that is inherited from any source (including nestedContainers, that is,Containers insideContainers), we can call it a UniqueContainer. If content is inherited at all, it is not a UniqueContainer.
Containers can also be inherited.When yougetaContainerasset filefrom someone else, youinheritits contents. If the author allows, you can open the container andmakechanges, while still inheriting the author's changes. This allows teams to work collaboratively.
Content nodes of containers are children of the container. It is possible to have objects linked to containers or contents of containers without being insidethe container, but this is not recommended.
It is not possible to instance containers, but they can be copied,then changes to one of the copies can be saved and all containers can be reloaded,resulting inall copies inheritingthe changes. Many containers can pointatthe same definitionfile.
In addition to the content, containers also govern what users of a container are allowed to do with the content if they inherit the container. This is called the container rules. Currently, the only optionsexposed to the User Interfaceare either no access (the user can only read in the content but make no modification) or edit in-place, which allows someone inheriting the container to modify the content and save the result, overwriting the original definitionfile.
Containers can be closed, makingthe content non-editable. When a container is closed,the content behaves like a scene XRef, displayed and rendered but not selectable or editable.