Go to: Related nodes. Attributes.

This node acts as a base class allowing derived nodes to optionally represent a foldable container used in Hypergraph/Hypershade editors.

Node nameParentsMFn typeCompatible function sets
containerBasenodekContainerBasekBase
kNamedObject
kDependencyNode
kContainerBase

Related nodes

container

Attributes (21)

blackBox, borderConnections, containerType, creationDate, creator, customTreatment, hyperLayout, iconName, isCollapsed, isHierarchicalConnection, isHierarchicalNode, publishedNode, publishedNodeInfo, publishedNodeType, rmbCommand, templateName, templatePath, templateVersion, uiTreatment, viewMode, viewName

Long name (short name)TypeDefaultFlags
blackBox (bbx) bool0outputinputconnectablestorable
Tells the UI to treat the container as a black box. Only published nodes such as the root transform and published parent/children will be displayed.
borderConnections (boc) Messagen/aarrayoutputinputconnectable
Attributes on container nodes with connections to exterior nodes get connected to this attribute to indicate the exterior connection.
creationDate (cdat) stringnullptroutputinputconnectablestorable
Set at creation time to the current date.
customTreatment (ctrt) stringnullptroutputinputconnectablestorable
This attribute can be set to a colon-separated list of keywords that tell Maya UI (or your custom UI) how to treat the asset if the uiTreatment attribute is set to a value of "Custom".
hyperLayout (hl) Messagen/aoutputinputconnectablehidden
The hyperLayout attribute that stores depend nodes belonging to this container node.
iconName (icn) stringTmultiSharedObject::create<TdataString>outputinputconnectablestorable
Icon filename for hyperGraph views. (jpg,jpeg,bmp or gif)
isCollapsed (isc) boolfalseoutputinputconnectablestorablehidden
collapsed state of container
isHierarchicalConnection (ish) boolfalsearrayoutputinputstorablehidden
Indicates which of the connections to the borderConnections multi represents a hierarchical publishing connection. Used by referencing to determine which alias to save as or resolve to.
creator (ctor) stringnullptroutputinputconnectablestorable
Set at creation time to the user who created the node.
publishedNodeInfo (pni) compoundn/aarrayoutputinputconnectablestorablehidden
parent attribute for information related to published nodes
publishedNode (pnod) Messagen/aoutputinputconnectable
Nodes inside the container connect to this attribute to indicate that they are published. Typically one would publish nodes to indicate that they have some significance. Note: unlike published attributes and anchors, published names are not used during file io as stand-ins for the node name.
isHierarchicalNode (ihn) boolfalseoutputinputstorablehidden
Indicates that the published node is actually a hierarchically published node.
publishedNodeType (pntp) stringnullptroutputinputstorablehidden
Indicates the node type of nodes which may validly be published to this name. An empty string indicates that any node type is acceptable.
rmbCommand (rmc) stringnullptroutputinputstorable
Indicates the name of a mel file that will be called to populate the right-mouse-button (RMB) with entries when a container member is RMBed on in the main scene. The mel file must return an array of strings of the form: {"Label for menu entry 1", "CallbackToInvoke1", "Label for menu entry 2", "CallbackToInvoke2", ... } The callback should be a global mel proc which takes a string argument. The callback will be sent the name of the object which was RMBed on. See the mel file containerRmbMenu.mel for an example.
templateName (tna) stringnullptroutputinputconnectablestorable
Template name associated with this container
templatePath (tpt) stringnullptroutputinputconnectablestorable
Template file path
templateVersion (tpv) integer0outputinputconnectablestorable
Template version.
containerType (ctyp) stringnullptroutputinputconnectablestorable
A string which defines the container type. This is used for sorting of nodes by types.
uiTreatment (uit) enum0outputinputconnectablestorable
This attribute can be used to specify how some parts of the Maya UI will interact with the container. Specifically:

  • Standard: Normal container UI treatment.
  • Shader: Containers set to a value of 'shader' should contain a shading group. When you RMB on objects, shader containers will be listed under the "Assign Existing Material" menu. If your container has more than one shading group, you can specify which shading group should be used by publishing the shading group node of interest with the name 'mainSG'.
  • Custom: The treatment specified in the customerTreatment string attribute will be used. This may be used to create user-specific treatment behaviors.
viewMode (vwm) enum2outputinputconnectablestorable
View selection mode
viewName (vwn) stringnullptroutputinputconnectablestorable
View name associated with this container