hi!...i want create color set for my shape;
but below C++ API code don't work!(The important thing is that, output 
geometry attribute of one deformer node is connected to inMesh attribute of 
my shape)

MSelectionList sel_list;
 sel_list.add(mesh_n);
 MDagPath dag_path;
 sel_list.getDagPath(0, dag_path);
 MFnMesh shape(dag_path);


 shape.createColorSetWithName(colorSetName);
 shape.createColorSet(colorSetName);
 shape.setCurrentColorSetName(colorSetName);

-- 
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/8d272b3c-99bf-4311-81a3-48cd3341c70b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to