
However! When I do an objectType $joints to test, it still return a type "joints", so I don't get why the value of the array is type joints, but I can't access the joint's joint. (type'joint') for joint in jointList: tAttr(joint + '.segmentScaleCompensate', 0) and this toggles. I was hoping with the array of all the joints (names), i could change their attributes in that manner by calling to them one by one, but it seems I cannot do it that way How to apply py setAttr script to only selected objects MEL/Python.

I was trying to move all the joint transform rotation values to the joint orient values so that i can clean up the attributes of the transforms without losing joint orientation, my mel attempt for it was this: Hi I am a new MEL user and have been playing around, searching around but can't figure this out: No Comments on Re-post: Mentor Ryan Griffin Python Leg Rigging in Maya This is a re-post from the blog of our mentor, Ryan Griffin, Griffinanimation: Leg Rigging in Maya If you want to build a more robust scripted rigging system and understand how to do this with his help, check our our Python 101 class with Ryan. sphere -n sphere // Set a simple numeric value setAttr anslateX 5 // Lock an attribute to prevent further modification setAttr -lock on anslateX // Make an attribute unkeyable setAttr -keyable off anslateZ // Set an entire list of multi-attribute values in one command setAttr -size 7 'sphereShape.
