vlax-curve-getPointAtDist

AutoCad AutoLISP Functions

 
vlax-curve-getPointAtDist
 
 
 

Returns the point (in WCS) along a curve at the distance specified by the user

(vlax-curve-getPointAtDist curve-objdist)

Arguments

curve-obj

The VLA-object to be measured.

dist

The distance along the curve from the beginning of the curve to the location of the specified point.

Return Values

A 3D point list representing a point on the curve, if successful; otherwise nil.

Examples

Assuming that splineObj points to the spline shown in the example for vlax-curve-getDistAtParam, determine the point at a distance of 1.0 from the beginning of the spline:

_$ (vlax-curve-getPointAtDist
splineObj 1.0)
(2.24236 2.99005 0.0)