Display Color Override

Quickly override the display color of one or more selected objects using a color index UI. With this script it is no longer necessary to dig deep into the Maya's Attribute Editor to enable drawing overrides and set the color using a slider.

Select the object, pick a color and click the "Override" button. Additionally, you can disable the display overrides by selecting the object and clicking the "Default" button.

Downloads

This script is available in both MEL and Python.

Installation

MEL

  1. Copy czDisplayColorOverrideUI.mel into your maya scripts directory
  2. Restart Maya
  3. In the command line or script editor execute the command:
    czDisplayColorOverrideUI();

Python

  1. Copy display_color_override.py into your maya scripts directory
  2. Restart Maya
  3. In the command line or script editor execute the commands:
    from display_color_override import DisplayColorOverrideUi
    DisplayColorOverrideUi.display()