|
|
|
|
|
name(self)
Returns:
fully qualified (long) name of this dag node |
source code
|
|
|
|
_dagPath_delayed(self)
Handles the retrieval of a dagpath from an MObject if it is not known
at first. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
dagPath(self)
Returns:
the original DagPath attached to this Node - it's not wrapped
for performance |
source code
|
|
|
Inherited from DependNode:
setLocked
Inherited from Node:
__hash_2009__,
__new__
Inherited from interface.iDuplicatable:
copyTo,
copyToOther
Inherited from interface.Interface:
supports
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__init__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|
|
|
_setWorldspaceTransform(self,
parentnode)
Set ourselve's transformation matrix to our absolute worldspace transformation,
possibly relative to the optional parentnode |
source code
|
|
|
|
reparent(self,
parentnode,
renameOnClash=True,
raiseOnInstance=True,
keepWorldSpace=False)
Change the parent of all nodes (also instances) to be located below parentnode |
source code
|
|
|
|
|
|
|
|
|
|
removeChild(self,
childNode,
allowZeroParents=False)
remove the given childNode (being a child of this node) from our child list, effectively
parenting it under world ! |
source code
|
|
|
|
addChild(self,
childNode,
position=MFnDagNode.kNextPos,
keepExistingParent=False,
renameOnClash=True,
keepWorldSpace=False)
Add the given childNode as child to this Node. |
source code
|
|
|
|
addParent(self,
parentnode,
**kwargs)
Adds ourselves as instance to the given parentnode at position |
source code
|
|
|
|
setParent(self,
parentnode,
**kwargs)
Change the parent of self to parentnode being placed at position |
source code
|
|
|
|
|
|
|
|
|
|
duplicate(self,
newpath='',
autocreateNamespace=True,
renameOnClash=True,
newTransform=False,
**kwargs)
Duplciate the given node to newpath |
source code
|
|
|
Inherited from DependNode:
addAttribute,
removeAttribute,
rename,
setNamespace
|
|
|
_checkHierarchyVal(self,
plugName,
cmpval)
Returns:
cmpval if the plug value of one of the parents equals cmpval
as well as the current entity |
source code
|
|
|
|
|
|
|
isVisible(self)
Returns:
True if this node is visible - its visible if itself and all parents are
visible |
source code
|
|
|
|
isTemplate(self)
Returns:
True if this node is templated - this is the case if itself or one of its
parents are templated |
source code
|
|
|
|
displayOverrideValue(self,
plugName)
Returns:
the override display value actually identified by plugName affecting
the given object (that should be a leaf node for the result you see in the viewport. |
source code
|
|
|
|
parentAtIndex(self,
index)
Returns:
Node of the parent at the given index - non-instanced nodes only have one parent |
source code
|
|
|
|
|
|
|
parent(self)
Returns:
Maya node of the parent of this instance or None if this is the root |
source code
|
|
|
|
children(self,
predicate=lambda x: True,
asNode=True)
Returns:
all child nodes below this dag node if predicate returns True for passed Node |
source code
|
|
|
|
childrenByType(self,
nodeType,
predicate=lambda x: True)
Returns:
all childnodes below this one matching the given nodeType and the predicate |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
instance(self,
instanceNumber)
Returns:
Node to the instance identified by instanceNumber |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from interface.iDagItem:
iterParents
|
|
|
__eq__(self,
other)
Compare MDagPaths directly
Valid inputs are Node, DagNode, MObject and MDagPath instances. |
source code
|
|
|
|
|
|
Inherited from DependNode:
__getattr__,
__repr__,
__str__
Inherited from Node:
__hash__
|
|
|
_getSetPlug(self)
Returns:
the iogplug properly initialized for self
Dag Nodes have the iog plug as they support instancing |
source code
|
|
|
Inherited from DependNode:
addTo,
connectedSets,
isMemberOf,
removeFrom,
sets
|
|
Inherited from DependNode:
connections,
dependencyInfo
|
|
|
|
|
Inherited from DependNode:
isAlive
|
|
|
|
|
|
|
|
|
apiObject(self)
Returns:
our dag path as this is our api object - the object defining this node best |
source code
|
|
|
Inherited from DependNode:
referenceFile
|
|
Inherited from Node:
apiType,
hasFn
Inherited from interface.iDuplicatable:
copyFrom,
createInstance
|
|
Inherited from interface.iDagItem:
childrenDeep,
isPartOf,
isRoot,
isRootOf,
parentDeep,
root
|
|
Inherited from interface.iDagItem:
fullChildName
|