Function Entry: VL-VPLAYER-GET-COLOR

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VL-VPLAYER-GET-COLOR

Name

vl-vplayer-get-color

Class

BricsCAD Viewport-Layer Function

Syntax

(vl-vplayer-get-color layer viewport)

Arguments and Values

  • 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

Description

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

Return Values

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

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes