Function Entry: VL-VPLAYER-SET-TRUECOLOR

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

Function Entry: VL-VPLAYER-SET-TRUECOLOR

Name

vl-vplayer-set-truecolor

Class

BricsCAD Viewport-Layer Function

Syntax

(vl-vplayer-set-truecolor layer viewport rgbColor)

Arguments and Values

  • layer specifies one or more layer(s) to apply the
  • viewport-specific truecolor
  • can be :
  • 1. name (string) the name of 1
  • layer
  • 2. ename (ename) the entity name
  • of the layer
  • 3. enameList (list of name | ename)
  • list of 1 or more layer entity string names and/or
  • enames
  • viewport specifies one or more viewport
  • can be
  • 1. ename (ename) the viewport's entity
  • name
  • 2. cvport (integer) the viewport's
  • CVPORT viewport number
  • 3. (list ename cvport …) list ename(s)
  • and/or cvport(s)
  • rgbColor (integer) the truecolor value to be assigned;
  • if NIL, any truecolor override is removed

Description

This function sets the viewport-specific rgbColor truecolor override for the layer; (layer can specify one or more layers)

Return Values

T if the truecolor value is successfully applied resp. removed, NIL otherwise

Availability

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

Source Notes

ActiveX Extensions (BricsCAD-only vlax-*) (4 entries)