CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 10-23-2012, 07:17 AM   #1
xcx's Avatar
Antti Veršjšnkorva
Senior Technical Artist
Join Date: Jun 2003
Posts: 185
Add influence

I have a problem with referenced objects and loading skin weights.

My skin weight loading first unbind skin cluster and recreate it with correct bones and set weights. However if skin cluster is referenced it can't be removed. So I try remove bones and add correct ones without deleting skin cluster.


If I remove all joints from skin cluster.

sc = "skinCluster1" joints = cmds.skinCluster(sc, inf=True, q=True) for strJoint in joints: cmds.skinCluster(sc, ri=strJoint, e=True)

Work fine, but for some reason after this I can't add influences.

cmds.skinCluster(sc, ai="joint2", omi=False, e=True)

If I left one or more joints to skin cluster add influence works fine, but not if I remove all of them.

So is there a way to remove all bones and add new bones to skinCluster?

Old 10-23-2012, 07:17 AM   #2
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:34 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.