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 ()
 
isCurrent ()
 
makeCurrent ()
 
- Public Member Functions inherited from OpenMaya.MFnDependencyNode
__init__ ()
 
absoluteName ()
 
addAttribute ()
 
addExternalContentForFileAttr ()
 
affectsAnimation ()
 
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 ()
 
setAffectsAnimation ()
 
setAlias ()
 
setDoNotWrite ()
 
setExternalContent ()
 
setExternalContentForFileAttr ()
 
setFlag ()
 
setName ()
 
setUuid ()
 
userNode ()
 
uuid ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
__init__ ()
 
hasObj ()
 
object ()
 
setObject ()
 
type ()
 

Static Public Member Functions

getCurrentAsMObject ()
 
- Static Public Member Functions inherited from OpenMaya.MFnDependencyNode
allocateFlag ()
 
classification ()
 
deallocateAllFlags ()
 
deallocateFlag ()
 

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

- 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.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.

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMaya.py