Function Entry: VLAX-SAFEARRAY-GET-ELEMENT

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

Function Entry: VLAX-SAFEARRAY-GET-ELEMENT

Name

vlax-safearray-get-element

Class

Visual LISP automation accessor

Syntax

(vlax-safearray-get-element array index [index ...])

Arguments and Values

  • array — safearray.
  • index — one integer per dimension, selecting the element to retrieve.

Description

Returns an element from an array.

Return Values

Integer, real, string, VLA-object, safearray, variant, T, or nil.

Side Effects

None.

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.

Exceptional Situations

Signals an AutoLISP-visible error if the argument is not a safearray or if the supplied indices are invalid.

Compatibility

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