Function Entry: LAYERSTATE-GETLAYERS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: LAYERSTATE-GETLAYERS
Name
layerstate-getlayers
Class
Layer-State Function
Syntax
(layerstate-getlayers layerstatename)
Arguments and Values
layerstatename: string.
Description
Returns the layers stored in a layer state.
Return Values
A list of layer names, or nil if the layer state does not exist or contains no layers.
Side Effects
None.
Examples
Not documented on the vendor page.
Availability
- AutoCAD 2026: documented (Windows, macOS).
- BricsCAD V26: not under this name. See Phase 4 cross-reference.
- Status: AutoCAD-named family with BricsCAD divergence — see Phase 4 reconciliation.
See Also
- No direct BricsCAD analogue. BricsCAD's parallel
vl-layerstates-*family does not currently document this operation; consider implementing in user code or treating as AutoCAD-only. - Family pair documented in
vendor-inventory-2026.org§10 item 6.
Source Notes
- [layerstate-getlayers (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-B0B12E74-D5EF-47E2-9B1C-ED595AA663A8.htm)
- Status: documented (Phase 3 body fill).