Maya api 2.0 Access
The framework makes it easy to access maya.api.OpenMaya
objects directly from Nod
objects.
Note
As outlined in the Introduction section bridging access to Maya api 2.0
is a part of the Stage 2 development ongoing process.
selectionList
node.selectionList()
dagPath
node.dagPath
matrix
This will return maya.api.OpenMaya.MMatrix
object
node.matrix()
node.matrix(exclusive=True)
node.matrix(inverse=True)
MFn
Additionally all node types will have a quick access to the default MFn
function set directly from the Nod object.
mesh.fn()
blendShape.fn()
This is of course intuitvely chainable
mesh.fn().closestIntersection()
dependNode
Get maya.api.OpenMaya.MObject
for a deformer
blendShape.dependNode()