Function Entry: LAYERSTATE-DELETE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: LAYERSTATE-DELETE
Name
layerstate-delete
Class
Layer-State Function
Syntax
(layerstate-delete layerstatename)
Arguments and Values
layerstatename: string; the layer state to delete.
Description
Removes a saved layer state from the current drawing.
Return Values
T if the layer state existed and was deleted; nil otherwise.
Side Effects
Removes the named layer state from the drawing.
Examples
Not documented on the vendor page.
Availability
- AutoCAD 2026: documented (Windows, macOS).
- BricsCAD V26: parallel function is
vl-layerstates-delete(chapter 24). - Status: AutoCAD-named family with BricsCAD divergence — see Phase 4 reconciliation.
See Also
- BricsCAD analogue:
vl-layerstates-delete(chapter 24). - Family pair documented in
vendor-inventory-2026.org§10 item 6.
Source Notes
- [layerstate-delete (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-828C4B51-7C59-4FF0-AA69-907C53F31703.htm)
- Status: documented (Phase 3 body fill).