The format operation is passed a dictionary of items for the substitution where the names of the values are 1, 2, and so on. If the callback is a string which is to be evaluated, then Maya does string substitution as in MEL. 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. Working with Maya’s python api The compound attribute Working with Maya’s python api The enum attribute Update: Now Technical Artist at Oculus Research New Adventure Recent Comments. Here are the examples of the python api maya. Im wanting to create a scripted python node that adds joint rotations together.
You should be able to now click the joint and rotate its orientation and not the joint itself. In the last post, I talked about the NeuronDataReader SDK and the general process to use these APIs, now we will talk about how to make a Maya plug-in client to receive and parse the animation data. Multiple objects are allowed only for the edit mode. If the object is not specified, the currently selected object (dag object) will be used. (The standard edit (-e) and query (-q) flags are used for edit and query functions).
The joint command is used to create, edit, and query, joints within Maya. 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 select the joint, go into 'component mode' (button on top left, the symbol is an arrow over 4 boxes) then right click the question mark over to the right of the component mode button and check 'local rotation axis'. joint is undoable, queryable, and editable. 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: