OpenMaya.MFnContainerNode Class Reference

Class Description

Function set for containers.

Method resolution order:
-   MFnContainerNode
-   MFnDependencyNode
-   MFnBase
-   __builtin__.object
+ Inheritance diagram for OpenMaya.MFnContainerNode:

Public Member Functions

__init__ ()
 
clear ()
 
getMembers ()
 
getParentContainer ()
 
getPublishedNames ()
 
getPublishedNodes ()
 
getPublishedPlugs ()
 
getRootTransform ()
 
getSubcontainers ()
 
- Public Member Functions inherited from OpenMaya.MFnDependencyNode
__init__ ()
 
absoluteName ()
 
addAttribute ()
 
addExternalContentForFileAttr ()
 
attribute ()
 
attributeClass ()
 
attributeCount ()
 
canBeWritten ()
 
create ()
 
dgCallbackIds ()
 
dgCallbacks ()
 
dgTimer ()
 
dgTimerOff ()
 
dgTimerOn ()
 
dgTimerQueryState ()
 
dgTimerReset ()
 
findAlias ()
 
findPlug ()
 
getAffectedAttributes ()
 
getAffectingAttributes ()
 
getAliasAttr ()
 
getAliasList ()
 
getConnections ()
 
getExternalContent ()
 
hasAttribute ()
 
hasUniqueName ()
 
isFlagSet ()
 
isNewAttribute ()
 
isTrackingEdits ()
 
name ()
 
plugsAlias ()
 
removeAttribute ()
 
reorderedAttribute ()
 
setAlias ()
 
setDoNotWrite ()
 
setExternalContent ()
 
setExternalContentForFileAttr ()
 
setFlag ()
 
setName ()
 
setUuid ()
 
userNode ()
 
uuid ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
__init__ ()
 
hasObj ()
 
object ()
 
setObject ()
 
type ()
 

Static Public Attributes

int kChildAnchor = 1
 
int kGeneric = 2
 
int kParentAnchor = 0
 
- Static Public Attributes inherited from OpenMaya.MFnDependencyNode
int kTimerMetrics = 9
 
int kTimerTypes = 3
 
int kExtensionAttr = 3
 
int kInvalidAttr = 4
 
int kLocalDynamicAttr = 1
 
int kNormalAttr = 2
 
int kTimerInvalidState = 3
 
int kTimerOff = 0
 
int kTimerOn = 1
 
int kTimerUninitialized = 2
 
int kTimerMetric_callback = 0
 
int kTimerMetric_callbackNotViaAPI = 6
 
int kTimerMetric_callbackViaAPI = 5
 
int kTimerMetric_compute = 1
 
int kTimerMetric_computeDuringCallback = 7
 
int kTimerMetric_computeNotDuringCallback = 8
 
int kTimerMetric_dirty = 2
 
int kTimerMetric_draw = 3
 
int kTimerMetric_fetch = 4
 
int kTimerType_count = 2
 
int kTimerType_inclusive = 1
 
int kTimerType_self = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenMaya.MFnDependencyNode
allocateFlag ()
 
classification ()
 
deallocateAllFlags ()
 
deallocateFlag ()
 
- Properties inherited from OpenMaya.MFnDependencyNode
 isDefaultNode
 
 isFromReferencedFile
 
 isLocked
 
 isShared
 
 namespace
 
 pluginName
 
 typeId
 
 typeName
 

Constructor & Destructor Documentation

OpenMaya.MFnContainerNode.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMaya.MFnContainerNode.clear ( )
clear()

Delete all members of the container.
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.