safearray-value


(safearray-value saVar)

This function is the short notation form of (vlax-safearray-value) or (vlax-safearray->list).

Important Note :
(safearray-value) accepts an empty or invalid SafeArray object (i.e. lowerBound=0 and upperBound=-1), returning NIL (empty list), while (vlax-safearray->list) triggers a Lisp error, which needs to be catched by (vl-catch-all-apply) mechanism, so (safearray-value) it is more comfortable and safer to use.


©  Bricsys NV. All rights reserved.