Layers and CAD layers can be displayed with different foreground colors. This can be useful for distinguishing what elements are on what layers.
To change the color of a layer or CAD layer:
· Use the SetLayerRGBColor transaction.
The layer or CAD layer is displayed with the selected color. (This transaction does not apply to color rasters). To request the current layer or CAD layer color, use the GetLayerRGBColor transaction. It returns an RGB value.
Alternatively, it may be helpful to view layers without any colors at all. To do this, you can enable the Monochrome view option.
Effect of Monochrome:
To enable the Monochrome view option:
· Use the SetViewMonochrome(docwinID, 1) transaction.
The Monochrome option is enabled. To request the current monochrome status, use the GetViewMonochrome(docwinID) transaction.
See also