LC #42 Pipers Alley

View Full Version : Fun with Override Colors

12-11-2012, 08:31 AM
I had looked around for an artist friendly color description list for years. I finally just put one together myself for Maya's display override colors. Hope someone can find this useful!

colorList = [\

And if you'd like to add this as an enum list in the channel box:

cmds.addAttr('yourObjectName', ln='overrideColor', at='enum', enumName=(':'.join(colorList)))
cmds.setAttr(('yourObjectName' + '.overrideColor'), overrideColor, e=True, keyable=False, cb=True)



CGTalk Moderation
12-11-2012, 08:31 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.