Quantcast
Channel: Autodesk India Community aggregator
Viewing all articles
Browse latest Browse all 1680

AutoCAD Customization: .NET: Extend an Arc?

$
0
0

Hi All,

 

I'd like to express my appreciation for all the help I've gotten on this forum since I started this journey of converting existing VBA code into VB.NET.

 

I am almost done with my project, but I just encountered another problem, which has me really stumped...

 

I have an arc and a line, and I'd like to extend the endpoint of the arc so that it meets the startpoint of the line (image attached in this post). I've tried every which way I could think of, and the results are never what I wish to accomplish.

 

I searched this forum, and found a likely solution where the CircularArc3D object is being utilized, but unfortunately, this solution utilizes the Curve object's IntersectWith method, and this method crashes my code on a 32-bit system running AutoCAD 2010.

 

In my code, I also tried arc.EndPoint=line.StartPoint but when I execute, I get a NotImplementedException error in AutoCAD 2010.

 

Any pointers or suggestions?

 

Many thanks in advance...


Viewing all articles
Browse latest Browse all 1680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>