vl-vplayer-get-color


(vl-vplayer-get-color  layer  viewport)

This function returns the viewport-specific color override value for the layer.

Arguments

layer  specifies the layer to retrieve the viewport-specific color override
can be :
1. name  (string)  the name of the layer
2. ename  (ename)  the entity name of the layer

viewport  specifies the viewport
can be
1. ename  (ename) the viewport's entity name
2. cvport  (integer)  the viewport's CVPORT viewport number

Return

list (dxf color isOverride) :

dxf  62 indicates an ACI color index, 420 indicates a truecolor value
color  (integer)  for dxf = 62 it is the ACI color index, for dxf = 420 it is the trucolor value
isOverride  T/NIL indicates whether the returned color value is the override color, or the normal color

Example


Remarks

this is a BricsCAD-specific function !



©  Bricsys NV. All rights reserved.