Function Entry: VLAX-VARIANT-TYPE

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

Function Entry: VLAX-VARIANT-TYPE

Name

vlax-variant-type

Class

Visual LISP automation accessor

Syntax

(vlax-variant-type variant)

Arguments and Values

  • variant — variant.

Description

Determines the data type of a variant.

Return Values

Integer type code.

Autodesk documents values such as 0, 1, 2, 3, 4, 5, 8, 9, 11, and 8192+n for safearray-bearing variants.

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 variant.

Compatibility

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