vlax-curve-getPointAtDist

(vlax-curve-getPointAtDist ename distance)

The vlax-curve-getPointAtDist function finds the coordinates of the point on a curve at the specified distance from the start point.

Arguments

ename specifies an entity to be measured.

distance is a floating-point number specifying the distance from the start point.

Return Value

The function returns a list of three floating-point numbers representing the WCS coordinates of the calculated point. If the function fails, it returns nil.

Examples

: (setq en (entlast))

<EName:  045d4b64>

: (vlax-curve-getPointAtDist en 1.0)

(7.55765 5.55066 0.0)