pymel.core.nodetypes.ContainerBase

digraph inheritance764b22a92b { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "ContainerBase" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.ContainerBase",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DependNode" -> "ContainerBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class ContainerBase(*args, **kwargs)
MPublishNodeType = Enum( EnumValue('MPublishNodeType', 0, 'parentAnchor'), EnumValue('MPublishNodeType', 1, 'childAnchor'), EnumValue('MPublishNodeType', 2, 'generic'))
getMembers()

Return an array of the nodes included in this container.

Return type:PyNode list

Derived from api method maya.OpenMaya.MFnContainerNode.getMembers

getParentContainer()

Return the parent container, if there is one. Otherwise return an empty MObject

Return type:PyNode

Derived from api method maya.OpenMaya.MFnContainerNode.getParentContainer

getPublishedNames(unboundOnly)

Return a list of published names on the container. Depending on the arguments, either all published names or only unbound published names will be returned.

Parameters:
unboundOnly : bool

if true, only return names that are not associated with a plug

Return type:

list list

Derived from api method maya.OpenMaya.MFnContainerNode.getPublishedNames

getPublishedNodes(type)

Return a list of the published nodes of a given type. For any names that have assigned nodes, return the node at the corresponding array index. For any names that do not have assigned nodes, a NULL MObject will be at the corresponding array index.

Parameters:
type : ContainerBase.MPublishNodeType

published node type of interest

values: ‘parentAnchor’, ‘childAnchor’, ‘generic’

Return type:

(list list, PyNode list)

Derived from api method maya.OpenMaya.MFnContainerNode.getPublishedNodes

getPublishedPlugs()

Return two arrays: the first contains the plugs that have been published on this container. The second contains that published names for those plugs. There is a one-to-one correspondence between the plugs in the first array and the strings in the second.

Return type:(PyNode list, list list)

Derived from api method maya.OpenMaya.MFnContainerNode.getPublishedPlugs

getRootTransform()

Return the root transform, if there is one. Otherwise return an empty MObject .

Return type:PyNode

Derived from api method maya.OpenMaya.MFnContainerNode.getRootTransform

getSubcontainers()

Return an array of the container nodes included in this container.

Return type:PyNode list

Derived from api method maya.OpenMaya.MFnContainerNode.getSubcontainers