vlax-3D-point

AutoCad AutoLISP Functions

 
vlax-3D-point
 
 
 

Creates ActiveX-compatible (variant) 3D point structure

(vlax-3D-point list) or (vlax-3D-point x y [z])

Arguments

list

A list of 2 or 3 numbers, representing points.

x, y

Numbers representing X and Y coordinates of a point.

z

A number representing the Z coordinate of a point.

Return Values

A variant containing a three-element array of doubles.

Examples

_$ (vlax-3D-point 5 20)
#<variant 8197 ...>
_$ (vlax-3D-point '(33.6
44.0 90.0))
<variant 8197 ...>