<?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 About ed.SelectWindow select range in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411863#M56281</link>
    <description>&lt;P&gt;I find the ed.SelectWindow is not always select the correct range. with drawing zoom out, the range is not within the two points specified, the range is larger than the actual range.that means the ed.SelectWindow can not be trusted.why and how can get rid of that?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2012 03:31:24 GMT</pubDate>
    <dc:creator>sdphg</dc:creator>
    <dc:date>2012-04-13T03:31:24Z</dc:date>
    <item>
      <title>About ed.SelectWindow select range</title>
      <link>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411863#M56281</link>
      <description>&lt;P&gt;I find the ed.SelectWindow is not always select the correct range. with drawing zoom out, the range is not within the two points specified, the range is larger than the actual range.that means the ed.SelectWindow can not be trusted.why and how can get rid of that?&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 03:31:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411863#M56281</guid>
      <dc:creator>sdphg</dc:creator>
      <dc:date>2012-04-13T03:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: About ed.SelectWindow select range</title>
      <link>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411941#M56282</link>
      <description>&lt;P&gt;You may want to zoom window before you run your sample&lt;/P&gt;&lt;PRE&gt;   Public Sub ZoomWindow(db As Database, minpt As Point2d, maxpt As Point2d)
        Dim doc As Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument
        Dim view As ViewTableRecord = New ViewTableRecord()
        view.CenterPoint = (minpt + (maxpt - minpt) / 2.0)
        view.Height = (maxpt.Y - minpt.Y)
        view.Width = (maxpt.X - minpt.X)
        doc.Editor.SetCurrentView(view)
        db.UpdateExt(True)
    End Sub

    &amp;lt;CommandMethod("ZOOMW")&amp;gt; _
    Public Sub ZoomREctangle()
        Dim doc As Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument
        Dim db As Database = doc.Database
        ZoomWindow(db, New Point2d(2, 2), New Point2d(8, 8))
    End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" face="arial,helvetica,sans-serif"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 05:11:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411941#M56282</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-04-13T05:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: About ed.SelectWindow select range</title>
      <link>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411957#M56283</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;SPAN&gt;&lt;A target="_self" href="http://forums.autodesk.com/t5/user/viewprofilepage/user-id/523211"&gt;Hallex&lt;/A&gt;.but&amp;nbsp;&lt;/SPAN&gt;I already zoomed before &amp;nbsp;ed.SelectWindow.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 05:32:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411957#M56283</guid>
      <dc:creator>sdphg</dc:creator>
      <dc:date>2012-04-13T05:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: About ed.SelectWindow select range</title>
      <link>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411973#M56284</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you zoom ?&lt;/P&gt;&lt;P&gt;Remind SendStringToExecute (or SendCommand) doesn't run synchronously and may happen after the selection.&lt;/P&gt;&lt;P&gt;Use a hard-coded zoom method as shown by Hallex.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 05:50:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3411973#M56284</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2012-04-13T05:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: About ed.SelectWindow select range</title>
      <link>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3412075#M56285</link>
      <description>&lt;P&gt;thanks gile&lt;/P&gt;&lt;P&gt;Actually, I run command ZOOM E first,then run the command to execute ed.SelectWindow.&lt;/P&gt;&lt;P&gt;And the fact is, if the view is large enough the selection is correct,but when Zoom extent or zoom out to a very small size, the selection always contains some entities outside the range.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 07:22:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/about-ed-selectwindow-select-range/m-p/3412075#M56285</guid>
      <dc:creator>sdphg</dc:creator>
      <dc:date>2012-04-13T07:22:15Z</dc:date>
    </item>
  </channel>
</rss>

