HyperWorks Desktop

col

col

Previous topic Next topic No expanding text in this topic  

col

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Changes the colors of different entities, depending upon the arguments.

Syntax

col <argument1> <argument2>

Arguments

Name

Data Type

Description

 

bac <color>

string , string

Changes the background color to the color specified.

Supported color values are:

Red

Blue

Green

Yellow

Black

White

Cyan

Gray1

Gray2

Gray3

Gray4

Gray5

Gray6

Gray7

Gray8

 

bac <color>

string, int

Changes the background color to the color value specified, using an integer from 0 to 67.

To view the colors, see the HyperView color pallet on the Entity Attributes panel.

Returns

Nothing.

Errors

No error codes.

If the first argument is wrong, the message "Usage : col {bac} {color val}" is displayed.

If an unsupported color value is specified, the message "Color not recognized" is displayed.

Examples

To change the background color to green:

col bac green;

 

To change the background color to black:

col bac 0;

 

See Also:

Command Window - HyperView