<?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: The MinPoint of Extents returned from leader.Geometric is 0 ！ in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094811#M31467</link>
    <description>&lt;P&gt;I use the AutoCAD 2007 .Net api to develp,thanks a lot.&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2017 07:50:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-19T07:50:51Z</dc:date>
    <item>
      <title>The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7089115#M31461</link>
      <description>&lt;P&gt;When I try to get extents of a leader ,i would use leader.GeometricExtents to obtain the extents ,but i find the extents returned is wrong!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/356913iF4F786AF71CC005B/image-size/large?v=1.0&amp;amp;px=705" border="0" alt="搜狗截图20170517163413.jpg" title="搜狗截图20170517163413.jpg" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;The Extents 's Minpoint is usually 0,,why will be that?Is this a bug of .net api of cad?&lt;/P&gt;&lt;P&gt;Does anyone help me?I'm in hurry.Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 09:41:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7089115#M31461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-17T09:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7091645#M31462</link>
      <description>&lt;P&gt;The min points looks to be zero there (0,0,0)? am i missing something here?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 02:27:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7091645#M31462</guid>
      <dc:creator>BKSpurgeon</dc:creator>
      <dc:date>2017-05-18T02:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7091841#M31463</link>
      <description>&lt;P&gt;It can be sure that the Extents's Minpoint is not (0,0,0).You can have a try .Draw a Leader with three verteices which locates at northeast to the basepoint.And use leader.GeometricExtents to get the Extents .I can sure you will find the Extents's MinPoint must be (0,0,0).In addition,i use the AutoCAD2007 to develop.Thanks for your apply.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 06:15:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7091841#M31463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T06:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7092571#M31464</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you attach the relevant drawing and the relevant bit in your code (please cut out all the irrelevant stuff) and we can see whether we can crack this puzzle?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rgds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 11:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7092571#M31464</guid>
      <dc:creator>BKSpurgeon</dc:creator>
      <dc:date>2017-05-18T11:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094645#M31465</link>
      <description>&lt;PRE&gt;        [CommandMethod("boundblock")]
        public void boundblock()
        {
            Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;
            Database db = HostApplicationServices.WorkingDatabase;
            PromptEntityResult per = ed.GetEntity("\nselect a leader:");
            if (per.Status == PromptStatus.OK)
            {
                using (Transaction tran = db.TransactionManager.StartTransaction())
                {
                    Entity ent = per.ObjectId.GetObject(OpenMode.ForWrite) as Entity;
                    Extents3d ext1 = ent.GeometricExtents;
                    ext1.TransformBy(ed.CurrentUserCoordinateSystem.Inverse());
                    tran.Commit();
                }
            }
        }&lt;BR /&gt;&lt;BR /&gt;Here is my code.And I attach the test dwg below.Thanks for your kind!&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 May 2017 06:06:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094645#M31465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T06:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094790#M31466</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot reproduce what you describe, I got:&lt;/P&gt;
&lt;P&gt;ext1 {((614.254836018791,306.800513620825,0), (1935.xxx-xxxxxxxx,896.604705878846,0))}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which AutoCAD version are you using?&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 07:39:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094790#M31466</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-05-19T07:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094811#M31467</link>
      <description>&lt;P&gt;I use the AutoCAD 2007 .Net api to develp,thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 07:50:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7094811#M31467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-19T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7096948#M31468</link>
      <description>&lt;P&gt;I got exactly the same:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extents.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/358249iA10CC0E0B6E902BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="extents.JPG" alt="extents.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 01:29:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7096948#M31468</guid>
      <dc:creator>BKSpurgeon</dc:creator>
      <dc:date>2017-05-20T01:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7097273#M31469</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;I confirm the problem on AutoCAD 2007, it's probably an API youth bug&lt;/SPAN&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 14:07:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7097273#M31469</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-05-20T14:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: The MinPoint of Extents returned from leader.Geometric is 0 ！</title>
      <link>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7097312#M31470</link>
      <description>&lt;P&gt;Ok，thanks a lot for your help.Now I plan to write a special function to get a leader's extents.&lt;/P&gt;&lt;P&gt;In addition,is this function(leader.GeometrcExtents) still a bug in objectarx(vc++)?&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 15:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/the-minpoint-of-extents-returned-from-leader-geometric-is-0/m-p/7097312#M31470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-20T15:07:51Z</dc:date>
    </item>
  </channel>
</rss>

