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.
Source Notes
- [vlax-safearray-get-element (AutoLISP/ActiveX)](https://help.autodesk.com/cloudhelp/2024/JPN/AutoCAD-AutoLISP-Reference/files/GUID-09386E77-DBBF-4E4D-8D77-0066D1F11CBA.htm)
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.