Hi,

I'm working on a really simple script and yet I'm having trouble getting
the script to do what I want.
Here is a description of what I'm trying to do:

Get selection
Duplicate the object
For any skin Clusters that the object may have
    | Get joints skinned to the skin cluster
    | Replace the selection with the duplicated object
    | Adds the joints connected to the skin Cluster to the selection
    | Skin the new object
    | Copy weights from one object to the other

Here is the code that I have so far:
https://gist.github.com/davidmartinezanim/9198402

I've tried to get the code to have the same settings as I have in Maya:

- http://www.elusiveideas.com/smoothBindOptions.PNG
- http://www.elusiveideas.com/copySkinWeightOptions.PNG

And yet, when I do it in Maya, it works, but when I run the code, the
original and duplicate objects are different. (When I move one of the
joints, the skinning is not quite the same)

Any ideas about what could be causing the issue?

--
David Martinez - Technical Animator

Email: [email protected]
Website: http://www.elusiveideas.com

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAMLeNpyWbqvJkp7bFyh7jNZg3zJFV_iV902CjKd7xpoOL5dpbw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to