Function Entry: LAYERSTATE-HAS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: LAYERSTATE-HAS
Name
layerstate-has
Class
Layer-State Function
Syntax
(layerstate-has layerstatename)
Arguments and Values
layerstatename: string.
Description
Tests whether the named layer state exists in the current drawing.
Return Values
T if the layer state exists; otherwise nil.
Side Effects
None.
Examples
Not documented on the vendor page.
Availability
- AutoCAD 2026: documented (Windows, macOS).
- BricsCAD V26: parallel function is
vl-layerstates-has(chapter 24). - Status: AutoCAD-named family with BricsCAD divergence — see Phase 4 reconciliation.
See Also
- BricsCAD analogue:
vl-layerstates-has(chapter 24). - Family pair documented in
vendor-inventory-2026.org§10 item 6.
Source Notes
- [layerstate-has (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-0936B91C-7DE0-49DD-9BCD-FD097417E348.htm)
- Status: documented (Phase 3 body fill).