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 name Parents MFn type Compatible function sets
containerBase node kContainerBase kBase
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) Type Default Flags
hyperLayout (hl) Message n/a outputinputconnectablehidden
The hyperLayout attribute that stores depend nodes belonging to this container node.
isCollapsed (isc) bool false outputinputconnectablestorablehidden
collapsed state of container
blackBox (bbx) bool 0 outputinputconnectablestorable
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) Message n/a arrayoutputinputconnectable
Attributes on container nodes with connections to exterior nodes get connected to this attribute to indicate the exterior connection.
isHierarchicalConnection (ish) bool false arrayoutputinputstorablehidden
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.
publishedNodeInfo (pni) compound n/a arrayoutputinputconnectablestorablehidden
parent attribute for information related to published nodes
publishedNode (pnod) Message n/a outputinputconnectable
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) bool false outputinputstorablehidden
Indicates that the published node is actually a hierarchically published node.
publishedNodeType (pntp) string NULL outputinputstorablehidden
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) string NULL outputinputstorable
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) string NULL outputinputconnectablestorable
Template name associated with this container
templatePath (tpt) string NULL outputinputconnectablestorable
Template file path
viewName (vwn) string NULL outputinputconnectablestorable
View name associated with this container
iconName (icn) string TmultiSharedObject::create<TdataString> outputinputconnectablestorable
Icon filename for hyperGraph views. (jpg,jpeg,bmp or gif)
viewMode (vwm) enum 2 outputinputconnectablestorable
View selection mode
templateVersion (tpv) integer 0 outputinputconnectablestorable
Template version.
uiTreatment (uit) enum 0 outputinputconnectablestorable
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.
customTreatment (ctrt) string NULL outputinputconnectablestorable
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".
creator (ctor) string NULL outputinputconnectablestorable
Set at creation time to the user who created the node.
creationDate (cdat) string NULL outputinputconnectablestorable
Set at creation time to the current date.
containerType (ctyp) string NULL outputinputconnectablestorable
A string which defines the container type. This is used for sorting of nodes by types.