On Mar 29, 5:38 pm, Chad Dombrova <[email protected]> wrote:
> > On 29 March 2010 16:14, matthew evans <[email protected]>  
> > wrote:
> > what is the best way to plug in the world marix of a object and then
> > query individual elemants of it?
>
> query in what context?  from within an MPxNode?  from maya.cmds?  as a  
> single plug connection to another float attribute?

this is the matrix attribute i created in my node:

import maya.OpenMaya as om
mAttr=om.MFnMatrixAttribute()

odeRigidBody.objWorldMatrix=mAttr.create("objWorldMatrix","worldMat",om.MFnMatrixAttribute.kFloat)

no i can connect the worldMatrix of say a polyCube and can see the
matrix in the attribute editor. so how would i query the scale potion
of matrix or the rotation

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

To unsubscribe from this group, send email to 
python_inside_maya+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to