Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

maya python override color rgb

from pymel.core import *

exampleNodes = selected()

for n in exampleNodes:
    n.overrideEnabled.set(1)
    n.overrideRGBColors.set(1)
    n.overrideColorRGB.set(0.4, 0.2, 0.8)
Source by forums.cgsociety.org #
 
PREVIOUS NEXT
Tagged: #maya #python #override #color #rgb
ADD COMMENT
Topic
Name
5+2 =