# Get selectioncurves = maya.cmds.ls(selection=True)
# RGB ValuesR = 0.0G = 0.2B = 1.0
for curve in curves: # Trun on overrides maya.cmds.setAttr(curve + ".overrideEnabled", 1) # Enable RGB maya.cmds.setAttr(curve + ".overrideRGBColors",1) # Set RGB Value maya.cmds.setAttr(curve + ".overrideColorRGB", R ,G ,B)
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/6d56ea38-23c7-4c94-a202-566d6363cf51o%40googlegroups.com.