vlax-curve-getParamAtDist
 
 
 

Returns the parameter of a curve at the specified distance from the beginning of the curve

(vlax-curve-getParamAtDist curve-obj dist)

Arguments

curve-obj

The VLA-object to be measured.

dist

A number specifying the distance from the beginning of the curve.

Return Values

A real number representing a parameter, if successful; otherwise nil.

Examples

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

_$ (vlax-curve-getParamAtDist
splineObj 1.0)
0.685049