PDA

View Full Version : python + findRelatedSkinCluster


Mambo4
06-27-2012, 01:31 AM
how do I make this work?

#want name of skin cluster on selection
import maya as cmds
selection = cmds.ls(sl=True)
item= selection[0]
print cmds.eval('findRelatedSkinCluster'+item)

result:
# Error: TypeError: Object is invalid #

CGTalk Moderation
06-27-2012, 01:31 AM
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.