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