Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

MEL questions

MEL questions

Anonymous
Not applicable
756 Views
6 Replies
Message 1 of 7

MEL questions

Anonymous
Not applicable

Hello! How can I get the massive of joint's names, which binding to the skinned mesh?

 

Sorry for my English.

In detail:

I have a mesh with skin.
I have joints in this skin.

I need names of all these joints.

Maybe in massive.

0 Likes
Accepted solutions (2)
757 Views
6 Replies
Replies (6)
Message 2 of 7

sean.heasley
Alumni
Alumni

Hi @Anonymous and welcome to the community!

If you open the Outliner under the Windows tab you should be able to see a list of all the joints in the scene.

Let me know if this solves your issue!

0 Likes
Message 3 of 7

tdHendrix
Collaborator
Collaborator
Accepted solution

Hi, you should be able to run the following MEL to get joints that I in the skin cluster:

 

// replace skinCluster1 with the name of the skin cluster you want to query

 

string $influenceList[] = `skinCluster -q -weightedInfluence "skinCluster1"`;


Greg Hendrix - Senior Technical Animator
LinkedIn : Twitter
Message 4 of 7

Anonymous
Not applicable

Cool ! Thank you!

0 Likes
Message 5 of 7

Anonymous
Not applicable

But, "This flag returns a string array of the influence objects (joints and transform) that have non-zero weighting". 
Can I get all of joints, which are in my skin?

0 Likes
Message 6 of 7

Anonymous
Not applicable
Accepted solution

Have you tried changing "-weightedInfluence" to just "-influence"?

Message 7 of 7

Anonymous
Not applicable

thank)))