Function Entry: LAYERSTATE-EXPORT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: LAYERSTATE-EXPORT
Name
layerstate-export
Class
Layer-State Function
Syntax
(layerstate-export layerstatename filename)
Arguments and Values
layerstatename: string; the layer state to export.filename: string; the destination LAS file path.
Description
Exports a saved layer state to an external LAS (Layer State) file for sharing across drawings.
Return Values
T on success; nil on failure.
Side Effects
Writes a file to the file system.
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-export (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-E14DB236-6DD9-48A8-91F3-8A44A6E8BAA4.htm)
- Status: documented (Phase 3 body fill).