<?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: How to get the float viewport collection through a circle? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4888096#M45047</link>
    <description>hi,yuan:&lt;BR /&gt;thank you very much.&lt;BR /&gt;i have done something like your step. but today, i found another method, that is linq, i want to make this program suing both the two method. and i also expect your post.&lt;BR /&gt;ps, r u chinese?&lt;BR /&gt;best regards&lt;BR /&gt;swaywood</description>
    <pubDate>Sat, 15 Mar 2014 06:27:20 GMT</pubDate>
    <dc:creator>swaywood</dc:creator>
    <dc:date>2014-03-15T06:27:20Z</dc:date>
    <item>
      <title>How to get the float viewport collection through a circle?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4885458#M45045</link>
      <description>&lt;P&gt;in the modelspace there is a little circle.&lt;/P&gt;&lt;P&gt;in the current paperspace there are several viewports.&lt;/P&gt;&lt;P&gt;now i want to get the viewports which can view the little circle.&lt;/P&gt;&lt;P&gt;the circle point is pt.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 02:49:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4885458#M45045</guid>
      <dc:creator>swaywood</dc:creator>
      <dc:date>2014-03-14T02:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the float viewport collection through a circle?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4887832#M45046</link>
      <description>&lt;P&gt;The steps of doing what you want would be like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Find all viewports on the current layout (you may want to limited to locked viewport only);&lt;/P&gt;&lt;P&gt;2. Get each viewport's boundary (a collection of points, which could be 4 points of a rectangle, or all vertex points of a non-rectangle polyline2d);&lt;/P&gt;&lt;P&gt;3. Transform the viewport boundary points to modelspace points.&lt;/P&gt;&lt;P&gt;4. decide if the entity in interest in modelspace is contained inside the viewport's boundary projected in modelspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key computing work here is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. how to translate a point ini paperspace into modelspace;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some sample code you can find if searching the Internet. Here is one of the link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="http://www.theswamp.org/index.php?topic=34590.msg398539#msg398539" target="_blank"&gt;http://www.theswamp.org/index.php?topic=34590.msg398539#msg398539&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. how to decide if an entity is located fully or partially inside a closed curve;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use Editor.SelectCrossingWindow/Polygon() to find if an entity is fully/partially inside a window or polygon. Make sure you zoom to the extents of the window or polygon first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I have just started a draft for my blog article on this topic a couple days ago and have not finished it. Since you asked here, I'll post back when the&amp;nbsp;article is published.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 21:58:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4887832#M45046</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2014-03-14T21:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the float viewport collection through a circle?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4888096#M45047</link>
      <description>hi,yuan:&lt;BR /&gt;thank you very much.&lt;BR /&gt;i have done something like your step. but today, i found another method, that is linq, i want to make this program suing both the two method. and i also expect your post.&lt;BR /&gt;ps, r u chinese?&lt;BR /&gt;best regards&lt;BR /&gt;swaywood</description>
      <pubDate>Sat, 15 Mar 2014 06:27:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4888096#M45047</guid>
      <dc:creator>swaywood</dc:creator>
      <dc:date>2014-03-15T06:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the float viewport collection through a circle?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4888444#M45048</link>
      <description>&lt;P&gt;I&amp;nbsp;have posted my blog article here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://drive-cad-with-code.blogspot.ca/2014/03/selecting-entities-in-modelspace.html" target="_blank"&gt;http://drive-cad-with-code.blogspot.ca/2014/03/selecting-entities-in-modelspace.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2014 15:22:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4888444#M45048</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2014-03-15T15:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the float viewport collection through a circle?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4889070#M45049</link>
      <description>yuan,thanks a lot.</description>
      <pubDate>Sun, 16 Mar 2014 14:19:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-the-float-viewport-collection-through-a-circle/m-p/4889070#M45049</guid>
      <dc:creator>swaywood</dc:creator>
      <dc:date>2014-03-16T14:19:58Z</dc:date>
    </item>
  </channel>
</rss>

