Returns the length of the curve's segment between the curve's start point and the specified point
(vlax-curve-getDistAtPoint curve-obj point)
The VLA-object to be measured.
A 3D point list (in WCS) on curve-obj.
nil.A real number if successful; otherwise
splineObj points to the spline shown in the example for .For the following example, assume that
Set OSNAP to tangent and select the point where the line is tangent to the curve:
_$ (setq selPt (getpoint))
(4.91438 6.04738 0.0)
Determine the distance from the start of the curve to the selected point:
_$ (vlax-curve-getDistAtPoint splineObj selpt)