I think what you want is the orientJoint attribute. So basically just do with PyMel:
myJoint.jointOrient.set(myObject.getRotation(ws=1)) You might have to unparent the joint first. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
