Function Entry: VLAX-SAFEARRAY-TYPE

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

Function Entry: VLAX-SAFEARRAY-TYPE

Name

vlax-safearray-type

Class

Visual LISP automation accessor

Syntax

(vlax-safearray-type array)

Arguments and Values

  • array — safearray.

Description

Returns the data type of a safearray.

Return Values

Integer type code.

Autodesk documents values such as 2, 3, 4, 5, 8, 9, 11, and 12, corresponding to the vlax-vb* element-type constants.

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 array is not a safearray.

Compatibility

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