Hi everyone, I try to set a blendshape weight plug. I used this solution :
mfn_weights = OpenMaya.MFnFloatArrayData() mo_weights = mfn_weights.create() mfn_weights.set(OpenMaya.MFloatArray(i_target_count, 0.0)) mp_weights.setMObject(mo_weights) but it doesn't work. I have a same problem for set a vertex weights of target. This solution works with array of point (for target offset) but not with array of float or double... Anyone have solution ? -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cab7e74e-dfb5-4d28-8a64-f5d349ce0982%40googlegroups.com.