vlax-curve-getparamatdist


(vlax-curve-getparamatdist curveEnt dist)

This function returns the parameter on the curveEnt curve entity at specified dist distance.

Arguments

curveEnt  (ename or vla-object) the COM object of any "curve" entity
dist  (integer or double)  the distance on the curve (relative to the curve's start start)

Return

double;  the parameter of the curve at the specified distance (relative to the curve start point) or NIL

Example

(setq vlaCircle (vlax-ename->vla-object (entlast)))  #<VLA-OBJECT IAcadCircle 000000003A012150>
(vlax-curve-getparamatdist vlaCircle 7.5)  0.0298140008606686

Remarks




©  Bricsys NV. All rights reserved.