Function Entry: LAYERSTATE-IMPORTFROMDB

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: LAYERSTATE-IMPORTFROMDB

Name

layerstate-importfromdb

Class

Layer-State Function

Syntax

(layerstate-importfromdb filename layerstatename)

Arguments and Values

  • filename: string; path to a DWG or DWT drawing file.
  • layerstatename: string; the layer state to import from the source drawing.

Description

Imports a specific layer state from another drawing file into the current drawing.

Return Values

T on success; nil on failure.

Side Effects

Adds the imported layer state to the current 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