HyperWorks Desktop

*setcolor()

*setcolor()

Previous topic Next topic No expanding text in this topic  

*setcolor()

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

NAME


*setcolor - Sets the colormap entry for HyperMesh colors.

 

SYNTAX


*setcolor(index,r,g,b)

 

TYPE


hm.cfg Command

 

DESCRIPTION


Sets the colormap entry for HyperMesh colors.  This updates the colors internally but does not modify the popup Tcl/Tk color palette.

index

The color location, 1-64.

r,g,b

The red, green and blue intensity color values (0-255).

 

EXAMPLES


To set color 1 to dark blue:

*setcolor(1,0,0,255)

 

ERRORS


None.

 

SEE ALSO


Configuration File Commands