Go to: Synopsis. Return value. Related. Flags. MEL examples.
curveRGBColor [-hueSaturationValue] [-list] [-listNames] [-remove] [-resetToFactory] [-resetToSaved]
curveRGBColor is undoable, queryable, and NOT editable.
This command creates, changes or removes custom curve colors,
which are used to draw the curves in the Graph Editor.
The custom curve names may contain the wildcards
"?", which marches a single character, and
"*", which matches any number of characters.
These colors are part of the UI and not part of the saved
data for a model. This command is not undoable.
In query mode, return type is based on queried flag.
displayRGBColor
hueSaturationValue, list, listNames, remove, resetToFactory, resetToSaved
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Set all "translateX" curves to draw magenta
curveRGBColor "translateX" 1 0 1;
// Set all curves whose names end in "Y" to draw yellow
curveRGBColor "*Y" 1 1 0;
// Remove the custom color for "translateX" curves
// (which will revert to the standard UI color)
curveRGBColor -r "translateX";
// List the currently defined custom curve colors
curveRGBColor -list;