hey guys, I am trying a test in API to get the weights of a skinCluster. So i get the influence objects from the skinCluster but how can i get geometry influences from that skincluster and its weights so i can save it separately?
import maya.OpenMaya as OpenMaya import maya.OpenMayaAnim as OpenMayaAnim skinCls = "skinCluster" selList = OpenMaya.MSelectionList() selList.add(skinCls) mObj = OpenMaya.MObject() selList.getDependNode(0, mObj) skinFn = OpenMayaAnim.MFnSkinCluster(mObj) infs = OpenMaya.MDagPathArray() nInfs = skinFn.influenceObjects(infs) So from this how can i get the geometry influences. Thanks. D. -- 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/e99fe8b0-36e2-494b-8cbb-f4165ad262b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
