.NET

Reply
Active Contributor
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 1 of 4 (179 Views)

plot points along a curve

179 Views, 3 Replies
07-12-2013 07:39 AM

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

*Expert Elite*
_gile
Posts: 2,106
Registered: ‎04-29-2006
Message 2 of 4 (177 Views)

Re : plot points along a curve

07-12-2013 07:49 AM in reply to: gulzar25

Hi,

 

Look at the Curve.GetPointAtDist() method.

Gilles Chanteau
Active Contributor
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 3 of 4 (131 Views)

Re: plot points along a curve

07-15-2013 05:58 AM 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

*Expert Elite*
_gile
Posts: 2,106
Registered: ‎04-29-2006
Message 4 of 4 (123 Views)

Re: plot points along a curve

07-15-2013 09:05 AM in reply to: gulzar25

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

Gilles Chanteau
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.