Function Entry: LAYERSTATE-REMOVELAYERS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: LAYERSTATE-REMOVELAYERS
Name
layerstate-removelayers
Class
Layer-State Function
Syntax
(layerstate-removelayers layerstatename layername [layername ...])
Arguments and Values
layerstatename: string.layername: one or more strings naming layers to drop from the layer state.
Description
Removes the named layers from a layer state.
Return Values
T on success; nil on failure.
Side Effects
Updates the layer-state record in the drawing.
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-removelayers (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-5F9FFCEB-D7D6-4233-AC74-526B51C4FD42.htm)
- Status: documented (Phase 3 body fill).