Function Entry: VL-VPLAYER-SET-COLOR
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-VPLAYER-SET-COLOR
Name
vl-vplayer-set-color
Class
BricsCAD Viewport-Layer Function
Syntax
(vl-vplayer-set-color layer viewport color)
Arguments and Values
- layer specifies one or more layer(s) to apply the
- viewport-specific color
- 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)
- color (integer) the index color value to be
- assigned; if NIL, any color override is removed
Description
This function sets the viewport-specific color override for the layer; (layer can specify one or more layers)
Return Values
T if the color value is successfully applied resp. removed, NIL otherwise
Notes
this is a BricsCAD-specific function !
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [vl-vplayer-set-color (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/vl-vplayer-set-color1.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).