Hi all,

I'm writing a script for generating rest position color sets. I first wrote 
a version using Maya cmds but since it was a bit slow I did a rewrite using 
the Maya api.
Everything is working but when I create a colorset using the api it's 
always of the type RGBA however I would need RGB.

I just create the colorset like this:

dag_path = OpenMaya.MDagPath()
sel_iterator.getDagPath(dag_path)

mesh_fn = OpenMaya.MFnMesh(dag_path)

mesh_fn.createColorSetWithName('rest')


There isn't any option for the type I can see in the api. Does anybody have 
an idea how this could be achieved?

Thanks in advance!


Cheers,
Alexander

-- 
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/87d2af0d-3396-434c-8b2b-77733d81f5da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to