Jozi68 Posted October 2, 2009 Posted October 2, 2009 I have a 2d polyline that consists of lines and arcs. For all the arcs, I need the centers. I need VB.net code for this. Any help will be much appreciated. Quote
gile Posted October 2, 2009 Posted October 2, 2009 Hi, You can use the Autodesk.AutoCAD.Geometry.CircularArc2d or CircularArc3d class for the polyline segment at specified index. C# code: Point2d center = pline.GetArcSegment2dAt(index).Center; Point3d center = pline.GetArcSegmentAt(index).Center; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.