if i was to create an output matrix variable for example:

mAttr=om.MFnMatrixAttribute()
WorldNode.newMatrix=mAttr.create("OutnewMatrix","newMatrix",om.MFnMatrixAttribute.kFloat)

how would i make worldNode.newMatrix equal a predefined matrix? such
as:
matrix=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]

WorldNode.newMatrix=matrix

so that i can plug the newMatrix into a decompose matrix node?

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

Reply via email to