viewcolor command

Set the color override attribute in a particular viewport.

All Usages Options Examples

Usages

  1. viewcolor [-a attrib] [-t color map] [-o on|off] viewport

See how to refer to viewers and viewports .

Normally, the viewport will use the “Cd” attribute as the geometry color. This command is used to specify that the viewport use another attribute.

Options

-a attrib

Specify the name of the attribute to use. The attribute must have a float or vector type.

-t color_map

Specify how to map the attribute to a color. default

Components map directly to RGB

false_ramp

First component is used to map into a false color ramp.

pink_ramp

First component is used to map into a pink ramp.

mono

First component is copied to all three components

-o on|off

Enable/disable the color override.

Examples

viewcolor -a weight -t false_ramp -o on Build.pane1.world.persp1