Function Entry: VLAX-LDATA-PUT

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

Function Entry: VLAX-LDATA-PUT

Name

vlax-ldata-put

Class

Visual LISP persistent-data writer

Syntax

(vlax-ldata-put dictionary key value [private])

Arguments and Values

  • dictionary — dictionary or object designator supporting ldata.
  • key — string naming the ldata key.
  • value — value to persist.
  • private — privacy selector in Autodesk's ldata protocol.

Autodesk documents value as one of integer, real, string, list, ename, VLA-object, variant, safearray, T, or nil.

Description

Stores persistent AutoLISP data associated with a dictionary or object.

Return Values

Returns value.

Exceptional Situations

Signals an AutoLISP-visible error if the target does not support the requested storage operation.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • If private is non-nil and the call originates from a separate-namespace VLX, Autodesk documents that the data is stored as private to that VLX.

Compatibility

Available on Windows only; not available on macOS or Web.