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.

How to query the skin cluster name of an object?

How to query the skin cluster name of an object?

Anonymous
Not applicable
865 Views
0 Replies
Message 1 of 1

How to query the skin cluster name of an object?

Anonymous
Not applicable

Greetings,

I am looking for a method to query the name of the skin cluster of a skinned object, then I can use that name in the "copySkinWeights" command, using 'source skin' and 'destination skin' flags to copy the skin weights from one object to another.

Unfortunately, the 'skinCluster' command, nor any other command I can find in the documentation, has a convenient flag which returns the name of the skin cluster on an object.

Is there a convenient way to do this?

 

I suppose first I have to get the name of the shape, using 'listRelative' with the 'shape' flag...

Then I can use 'listConnections' with the 'type' flag to get the cluster name.

There is probably a better method for this...

Thank you!

0 Likes
866 Views
0 Replies
Replies (0)