mikeporetti I would like to build something to help me set up muscles. I'm stuck at the part where Id like to set the weight values of the endpoints but I don't see a way to set them any help or workarounds welcome 🙂 Mike
mslib import maya.cmds as mc # get weights = mc.getAttr('zFiber1.endPoints') # change the weights weights[1] = 0.5 # set mc.setAttr('zFiber1.endPoints', weights, type='doubleArray' )
mslib Not that I am aware of. You can just change the index values in the weights variable before setting it.