vlax-2d-point


(vlax-2d-point lst)
(vlax-2d-point x y)

These functions creates a COM VARIANT object for the 2D point.

Arguments

lst  (list) list of 2 double values for X and Y coordinate
or
x  (double) the X coordinate value
y  (double) the Y coordinate value
z  (double) the Z coordinate value

Return

VARIANT;  returns a VARIANT, containing a SafeArray with 2 double values

Example

(vlax-2d-point 10.5 10.6)  returns #<variant 8197 ...>
(vlax-2d-point '(10.6 10.7))  returns #<variant 8197 ...>

Remarks

this function is specific for BricsCAD, not available in AutoLISP !



©  Bricsys NV. All rights reserved.