this seems to work for me (only tested it in 2015:

from pymel.core import *
mesh = ls(sl=True)[0]
# change displayColorChannel to none
mesh.displayColorChannel.set('None')


your options are:
'None'
'Ambient'
'Ambient+Diffuse'
'Specular'
'Emission'

The attribute Editor doesn't seem to update the value right away, not sure 
why :\

On Wednesday, July 20, 2016 at 10:19:37 PM UTC+2, [email protected] wrote:
>
> hi! 
> how change "display color channel" parametr? 
> http://s6.uplod.ir/i/00802/v6pded3ug2um.jpg 
>
>

-- 
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/4d2e87bb-47d3-4dc0-8c73-1b4e05557208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to