Go to: Synopsis. Return value. Flags. MEL examples.
color [-rgbColor float float float] [-userDefined int]
[objects]
color is undoable, NOT queryable, and NOT editable.
This command sets the dormant wireframe color of the specified objects to be their class color or if the -ud/userDefined flag is specified, one of the user defined colors. The -rgb/rgbColor flags can be specified if the user requires floating point RGB colors.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-rgbColor(-rgb)
|
float float float
|
|||
|
||||
-userDefined(-ud)
|
int
|
|||
|
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. |
// create a sphere and deselect it sphere -n sphere1; select -d; // Set the inactive wireframe color of the sphere to the // first user defined color color -ud 1 sphere1; // set the inactive wireframe color to red using rgb color -rgb 1 0 0 sphere1; // set the wireframe color of the sphere back to its default color color sphere1;