I'm trying to get MPxFieldNode world matrix. MPxFieldNode has
mWorldMatrix static MObject so I tried this:

wm = OpenMayaMPx.cvar.MPxFieldNode_mWorldMatrix
hwm = block.inputValue(wm)
worldMatrix = hwm.asMatrix()

but this don't work. Is there any other way to get this info from
mWorldMatrix ? I can get worldMatrix by using MPlug and MFnMatrixData,
but why mWorldMatrix doesn't work as any other static MObject ?

Marcin






--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to