Python API 2.0 Reference
|
Static Public Member Functions | |
def | __new__ () |
def | getCurrentAsMObject () |
Static Public Member Functions inherited from OpenMaya.MFnDependencyNode | |
def | __new__ () |
def | allocateFlag () |
def | classification () |
def | deallocateAllFlags () |
def | deallocateFlag () |
Static Public Member Functions inherited from OpenMaya.MFnBase | |
def | __new__ () |
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 = property(...) | |
isFromReferencedFile = property(...) | |
isLocked = property(...) | |
isShared = property(...) | |
namespace = property(...) | |
pluginName = property(...) | |
typeId = property(...) | |
typeName = property(...) | |
Function set for containers. Method resolution order: - MFnContainerNode - MFnDependencyNode - MFnBase - builtins.object
def OpenMaya.MFnContainerNode.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
def OpenMaya.MFnContainerNode.clear | ( | ) |
clear() Delete all members of the container.
|
static |
getCurrentAsMObject() -> MObject Retrieve the current container node.
def OpenMaya.MFnContainerNode.getMembers | ( | ) |
getMembers() -> MObjectArray Return an array of the nodes included in this container.
def OpenMaya.MFnContainerNode.getParentContainer | ( | ) |
getParentContainer() -> MObject Return the parent container, if there is one. Otherwise return an empty MObject.
def 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.
def 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.
def 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.
def OpenMaya.MFnContainerNode.getRootTransform | ( | ) |
getRootTransform() -> MObject Return the root transform, if there is one. Otherwise return an empty MObject.
def OpenMaya.MFnContainerNode.getSubcontainers | ( | ) |
getSubcontainers() -> MObjectArray Return an array of the container nodes included in this container.
def OpenMaya.MFnContainerNode.isCurrent | ( | ) |
isCurrent() -> bool Return whether the container node managed by this function set is the current container.
def 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.