<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CircularArc2d boundings in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779622#M63916</link>
    <description>&lt;P&gt;Yes, correct I'm trying to get it.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2010 11:58:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-09-24T11:58:57Z</dc:date>
    <item>
      <title>CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2770144#M63899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is there any way to obtain the boundings of an CircularArc2d object?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:23:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2770144#M63899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-14T14:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2770344#M63900</link>
      <description>&lt;P&gt;Try this one&lt;/P&gt;&lt;PRE&gt;             BoundBlock2d bb = arc.BoundBlock;
             Point2d minp = bb.GetMinimumPoint();
             Point2d maxp = bb.GetMaximumPoint();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 16:15:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2770344#M63900</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2010-09-14T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771004#M63901</link>
      <description>&lt;P&gt;Why the attacched polyline has minimum point negative?&lt;/P&gt;&lt;P&gt;MinimumPoint:(-0.0784183035384186,-0.0333440291205946),&lt;/P&gt;&lt;P&gt;MaximumPoint: (0.339761703945585,0.452622696834632)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 06:52:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771004#M63901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-15T06:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771130#M63902</link>
      <description>&lt;P&gt;See Attached Picture&lt;/P&gt;&lt;P&gt;I am not getting a Negative Value&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 10:39:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771130#M63902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-15T10:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771160#M63903</link>
      <description>&lt;P&gt;fro2001 is your resuts based on my disegno2.dwg?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code that produce the output:&lt;/P&gt;&lt;P&gt;MinimumPoint: (-0.0784183035384186,-0.0333440291205946),&lt;/P&gt;&lt;P&gt;MaximumPoint: (0.339761703945585,0.452622696834632)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Document doc Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;
            Editor ed = doc.Editor;
            Database db = doc.Database;
            PromptEntityResult per = ed.GetEntity("Select a polyline\n");
            if (per.Status == PromptStatus.OK)
            {
                Transaction tr = db.TransactionManager.StartTransaction();
                using (tr)
                {
                    DBObject obj = tr.GetObject(per.ObjectId, OpenMode.ForRead);
                    Polyline lwp = obj as Polyline;
                    if (lwp != null)
                    {
                        int vn = lwp.NumberOfVertices;
                        for (int i = 0; i &amp;lt; vn; i++)
                        {
                            SegmentType sg = lwp.GetSegmentType(i);
                            if (sg.ToString().CompareTo("Arc") == 0)
                            {
                                CircularArc2d ar = lwp.GetArcSegment2dAt(i);
                                ed.WriteMessage("ARC******************************************************\n");
                                ed.WriteMessage("Segment:" + i + "\n");
                                BoundBlock2d bb = ar.BoundBlock;
                                Point2d minp = bb.GetMinimumPoint();
                                Point2d maxp = bb.GetMaximumPoint();
                                ed.WriteMessage("MinimumPoint:" + minp + ", MaximumPoint: " + maxp + "\n");
                            }
                            if (sg.ToString().CompareTo("Line") == 0)
                            {
                                LineSegment2d li = lwp.GetLineSegment2dAt(i);
                                ed.WriteMessage("LINE*****************************************************\n");
                                ed.WriteMessage("Segment:" + i + "\n");
                                BoundBlock2d bb = li.BoundBlock;
                                Point2d minp = bb.GetMinimumPoint();
                                Point2d maxp = bb.GetMaximumPoint();
                                ed.WriteMessage("MinimumPoint:" + minp + ", MaximumPoint: " + maxp + "\n");
                            }
                        }
                    }
                }
            }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 11:36:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771160#M63903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-15T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771316#M63904</link>
      <description>&lt;P&gt;First look at the picture and see if that is what you want&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This draws a rectangle around around the arc using the Entity.GeometricExtents&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="1" face="arial,helvetica,sans-serif"&gt; [CommandMethod("PolyLineExtents")]
        public void PolyLineExtents()
        {
            Document doc = Application.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;
            PromptEntityResult per = ed.GetEntity("Select a polyline\n");
            if (per.Status == PromptStatus.OK)
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    BlockTable bt = db.BlockTableId.GetObject(OpenMode.ForRead) as BlockTable;
                    BlockTableRecord msBtr = (BlockTableRecord)bt[BlockTableRecord.ModelSpace].GetObject(OpenMode.ForRead);

                    Entity ent = tr.GetObject(per.ObjectId, OpenMode.ForRead) as Entity;
                    Point3d min = ent.GeometricExtents.MinPoint;
                    Point3d max = ent.GeometricExtents.MaxPoint;
                    
                    DocumentCollection docs = Application.DocumentManager;                   
                    AcadDocument acadDoc = (AcadDocument)doc.AcadDocument;
                    acadDoc.SendCommand("rec " + min.X + "," + min.Y + " " + max.X + "," + max.Y + " ");
                    tr.Commit();
                }
            }           
        }    &lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 13:05:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771316#M63904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-15T13:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771438#M63905</link>
      <description>&lt;P&gt;The rectangle is exacly what I'm looking for, but I can convert CircularArc2d to Entity?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 13:56:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771438#M63905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-15T13:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771522#M63906</link>
      <description>&lt;P&gt;Here is a different one run on revision cloud (which is nothing but a polyine with arcs)&amp;nbsp;I am not using the GetBoundBlockOf because I can't figure out how to even put the parameter in the right way.&lt;/P&gt;&lt;P&gt;This does not explode the actual object&lt;/P&gt;&lt;P&gt;I changed the current layer before I ran the command to be able to see it better.&lt;/P&gt;&lt;P&gt;See Attached picture&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="1" face="arial,helvetica,sans-serif"&gt; [CommandMethod("PolyLineExtents2")]
        public void PolyLineExtents2()
        {
            Document doc = Application.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;
            PromptEntityResult per = ed.GetEntity("Select a polyline\n");
            if (per.Status == PromptStatus.OK)
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    
                    Entity ent = tr.GetObject(per.ObjectId, OpenMode.ForRead) as Entity;
                    DBObjectCollection dbObjColl = new DBObjectCollection();
                    ent.Explode(dbObjColl);
                    foreach (Entity entExplode in dbObjColl)

                    {                     
                        Point3d min = entExplode.GeometricExtents.MinPoint;
                        Point3d max = entExplode.GeometricExtents.MaxPoint;
                        DocumentCollection docs = Application.DocumentManager;
                        AcadDocument acadDoc = (AcadDocument)doc.AcadDocument;
                        acadDoc.SendCommand("rec " + min.X + "," + min.Y + " " + max.X + "," + max.Y + " ");
                        ed.WriteMessage("\n Min: " + min.ToString() + "\n Max: " + max.ToString());

                    }



                    tr.Commit();
                }
            }
        }&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2010 14:37:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2771522#M63906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-15T14:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775022#M63907</link>
      <description>&lt;P&gt;Where is included "AcadDocument"? I got the error: The type or namespace name 'AcadDocument' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;Also I have the same problem to convert CircularArc2d to Entity&amp;nbsp;not the selection with "per.ObjectId" that works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 08:48:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775022#M63907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-20T08:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775024#M63908</link>
      <description>&lt;P&gt;Include to References &lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;acmgdinternal.dll&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 08:52:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775024#M63908</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2010-09-20T08:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775028#M63909</link>
      <description>&lt;PRE&gt;&lt;SPAN style="color: blue;"&gt;using&lt;/SPAN&gt;&amp;nbsp;Autodesk.AutoCAD.Interop;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;reference&lt;/P&gt;&lt;P&gt;Autodesk.AutoCAD.Interop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was being lazy and using the rectangle command&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775028#M63909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-20T09:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775036#M63910</link>
      <description>&lt;P&gt;Splines will not work right so here a little work around if the spline is small the precision might be set to high and it does not convert it to a polyline it just uses it for the extents.&lt;/P&gt;&lt;P&gt;To see the difference try the first method on a spline then&amp;nbsp;this one or draw a spline and do a SplineEdit or EditSpline then choose purge and when you select it you will see the control points it uses for its extents&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="1" face="arial,helvetica,sans-serif"&gt;[CommandMethod("BoundBoxSpline")]
        public void BoundBoxSpline()
        {
            Document doc = Application.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;
            PromptEntityResult per = ed.GetEntity("Select a Spline\n");
            if (per.Status == PromptStatus.OK)
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    BlockTable bt = db.BlockTableId.GetObject(OpenMode.ForRead) as BlockTable;
                    BlockTableRecord btrMs = (BlockTableRecord)bt[BlockTableRecord.ModelSpace].GetObject(OpenMode.ForWrite);
                    Spline sp = tr.GetObject(per.ObjectId, OpenMode.ForWrite) as Spline;
                    Application.SetSystemVariable("PLINECONVERTMODE", 1);
                    sp.ToPolylineWithPrecision(99);
                    Point3d min = sp.GeometricExtents.MinPoint;
                    Point3d max = sp.GeometricExtents.MaxPoint;                    
                    DocumentCollection docs = Application.DocumentManager;
                    AcadDocument acadDoc = (AcadDocument)doc.AcadDocument;                
                    acadDoc.SendCommand("rec " + min.X + "," + min.Y + " " + max.X + "," + max.Y + " ");
                    ed.WriteMessage("\n Min: " + min.ToString() + "\n Max: " + max.ToString());
                    tr.Commit();
                }
            }
        }&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:14:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775036#M63910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-20T09:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775040#M63911</link>
      <description>&lt;PRE&gt;&amp;nbsp;&lt;SPAN style="color: #2b91af;"&gt;CircularArc2d&lt;/SPAN&gt;&amp;nbsp;ar&amp;nbsp;=&amp;nbsp;lwp.GetArcSegment2dAt(i);&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I do not know if you will have luck converting an&amp;nbsp;entity to&amp;nbsp;&amp;nbsp;part of entity&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 09:25:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775040#M63911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-20T09:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775060#M63912</link>
      <description>&lt;P&gt;I need to get StartPoint, EndPoint, Center for Arc and StartPoint, EndPoint for Line that compose a PolyLine.&lt;/P&gt;&lt;P&gt;Sorry for my inexperienced, but I don't know another way to decompose Polyline as Arc and Line:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;CircularArc2d ar = lwp.GetArcSegment2dAt(i);
LineSegment2d li = lwp.GetLineSegment2dAt(i);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Is there a better way to do this job and get StartPoint, EndPoint, Center,&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT size="1"&gt;ent.GeometricExtents.MinPoint,&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="1"&gt;ent.GeometricExtents.MaxPoint?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:07:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2775060#M63912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-20T10:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779514#M63913</link>
      <description>&lt;P&gt;Do not if you cared are not but some how I changed the the code for spline and it is wrong it should&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="1"&gt; &lt;FONT face="arial,helvetica,sans-serif"&gt; [CommandMethod("BoundBoxSpline")]
        public void BoundBoxSpline()
        {
            Document doc = Application.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;
            PromptEntityResult per = ed.GetEntity("Select a Spline\n");
            if (per.Status == PromptStatus.OK)
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    BlockTable bt = db.BlockTableId.GetObject(OpenMode.ForRead) as BlockTable;
                    BlockTableRecord btrMs = (BlockTableRecord)bt[BlockTableRecord.ModelSpace].GetObject(OpenMode.ForWrite);
                    Spline sp = tr.GetObject(per.ObjectId, OpenMode.ForWrite) as Spline;
                    Application.SetSystemVariable("PLINECONVERTMODE", 1);
                    Polyline pl = sp.ToPolylineWithPrecision(99) as Polyline;
                    Point3d min = pl.GeometricExtents.MinPoint;
                    Point3d max = pl.GeometricExtents.MaxPoint;
                  
                    DocumentCollection docs = Application.DocumentManager;
                    AcadDocument acadDoc = (AcadDocument)doc.AcadDocument;                
                    acadDoc.SendCommand("rec " + min.X + "," + min.Y + " " + max.X + "," + max.Y + " ");
                    ed.WriteMessage("\n Min: " + min.ToString() + "\n Max: " + max.ToString());
                    tr.Commit();
                }
            }
        }&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 06:20:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779514#M63913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-24T06:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779540#M63914</link>
      <description>&lt;P&gt;For getting boundingbox of a polyline I use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Polyline lwp = obj as Polyline;
object oAcadObj = lwp.AcadObject;
object[] args = new object[2];
args[0] = new VariantWrapper(0);
args[1] = new VariantWrapper(0);
ParameterModifier pm = new ParameterModifier(2);
pm[0] = true;
pm[1] = true;
ParameterModifier[] modifiers = new ParameterModifier[] { pm };
oAcadObj.GetType().InvokeMember("GetBoundingBox", BindingFlags.InvokeMethod, null, oAcadObj, args, modifiers, null, null);
Point3d lowerLeftCorner = new Point3d((double[])args[0]);
Point3d upperRightCorner = new Point3d((double[])args[1]);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but my problem remain to find boundingbox of&lt;/P&gt;&lt;PRE&gt;CircularArc2d ar = lwp.GetArcSegment2dAt(i);
LineSegment2d li = lwp.GetLineSegment2dAt(i);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now I solved for CircularArc2d with Radius and using it in combination with Center and for LineSegment2d with startpoint and endpoint.&lt;/P&gt;&lt;P&gt;Many thanks &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A target="_self" rel="nofollow" href="https://forums.autodesk.com/../user/viewprofilepage/user-id/573578"&gt;&lt;SPAN&gt;fro2001&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 08:46:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779540#M63914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-24T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779574#M63915</link>
      <description>&lt;P&gt;Are you trying to get bounding box for each segment like the attached picture if so that is BoundBoxExplode which does not actually explode the object but you could iterate through and get all the points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The picture has a polyine with arcs,lines, arcs and lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 10:17:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779574#M63915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-24T10:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779622#M63916</link>
      <description>&lt;P&gt;Yes, correct I'm trying to get it.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 11:58:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2779622#M63916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-24T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2805246#M63917</link>
      <description>&lt;P&gt;good solution but &lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;I'm not able to find this method from spline object! &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ToPolylineWithPrecision()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2010 16:02:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2805246#M63917</guid>
      <dc:creator>bikelink</dc:creator>
      <dc:date>2010-10-22T16:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: CircularArc2d boundings</title>
      <link>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2805632#M63918</link>
      <description>&lt;P&gt;What year are you using?&lt;/P&gt;&lt;P&gt;I know it at least goes back to 2010.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2010 20:26:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/circulararc2d-boundings/m-p/2805632#M63918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-22T20:26:06Z</dc:date>
    </item>
  </channel>
</rss>

