vlax-curve-getParamAtPoint
 
 
 

Returns the parameter of the curve at the point

(vlax-curve-getParamAtPoint curve-obj point)

Arguments

curve-obj

The VLA-object to be measured.

point

A 3D point list (in WCS) on curve-obj.

Return Values

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

Examples

Assuming that ellipseObj points to the ellipse shown in the example for vlax-curve-getArea, set OSNAP to tangent and select the point where the line is tangent to the ellipse:

_$ (setq selPt (getpoint))
(7.55765 5.55066 0.0)

Get the parameter value at the selected point:

_$ (vlax-curve-getParamAtPoint
ellipseObj selPt)
4.58296