Function set for containers.
Method resolution order:
- MFnContainerNode
- MFnDependencyNode
- MFnBase
- __builtin__.object
Constructor & Destructor Documentation
OpenMaya.MFnContainerNode.__init__
(
)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Member Function Documentation
OpenMaya.MFnContainerNode.clear
(
)
clear()
Delete all members of the container.
OpenMaya.MFnContainerNode.getCurrentAsMObject
(
)
static
getCurrentAsMObject() -> MObject
Retrieve the current container node.
OpenMaya.MFnContainerNode.getMembers
(
)
getMembers() -> MObjectArray
Return an array of the nodes included in this container.
OpenMaya.MFnContainerNode.getParentContainer
(
)
getParentContainer() -> MObject
Return the parent container, if there is one. Otherwise return an empty MObject.
OpenMaya.MFnContainerNode.getPublishedNames
(
)
getPublishedNames(unboundOnly=bool) -> [MString]
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.
OpenMaya.MFnContainerNode.getPublishedNodes
(
)
getPublishedNodes(publishNodeType=MPublishNodeType) -> ([MString] publishedNames, MObjectArray publishedNodes)
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.
OpenMaya.MFnContainerNode.getPublishedPlugs
(
)
getPublishedPlugs() -> (MPlugArray publishedPlugs, [MString] publishedNames)
Return a tuple of plugs that have been published on this container and the names of those plugs.
OpenMaya.MFnContainerNode.getRootTransform
(
)
getRootTransform() -> MObject
Return the root transform, if there is one. Otherwise return an empty MObject.
OpenMaya.MFnContainerNode.getSubcontainers
(
)
getSubcontainers() -> MObjectArray
Return an array of the container nodes included in this container.
OpenMaya.MFnContainerNode.isCurrent
(
)
isCurrent() -> bool
Return whether the container node managed by this function set is the current container.
OpenMaya.MFnContainerNode.makeCurrent
(
)
makeCurrent(isCurrent) -> self
Set or clear whether the container managed by this function set is denoted as the
the current container. If the flag is true and the container is allowed to be
current, then the current container is set to be the container. Otherwise, if the
container managed by the function set is the current container, then the current
container is cleared.
* isCurrent (True/False) - Specifies whether this container shall be current.