.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

plot points along a curve

3 REPLIES 3
Reply
Message 1 of 4
gulzar25
376 Views, 3 Replies

plot points along a curve

Hi,

I need ti trace 2 points (which are certain distance apart) along a curve at a distance of x inches(say 2 inches).How do i write the code such that the point is plotted on the curves and maintains the distance.Appreciate the help.

 

Thanks

Gulzar

3 REPLIES 3
Message 2 of 4
_gile
in reply to: gulzar25

Hi,

 

Look at the Curve.GetPointAtDist() method.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 4
gulzar25
in reply to: gulzar25

Hi Giles,

In Curve.GetPointAtDist(parameter).What is parameter here.Like if i give 1.0 as parameter will it return the endpoint of the line.

 

Thanks

Gulzar

Message 4 of 4
_gile
in reply to: gulzar25

Aren't you confusing GetPointAtDist(double distance) and GetPointAtParameter(double parameter)?



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost