<?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 How to filter elements inside the current zoom extent using .net api? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-filter-elements-inside-the-current-zoom-extent-using-net/m-p/6866766#M60314</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find the family instance from the current extent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Objective is to show a list of instance after panning and zooming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used &lt;STRONG&gt;BoundingBoxIsInsideFilter(Outline)&lt;/STRONG&gt; but what would be the outline input. If I create outline&lt;/P&gt;&lt;P&gt;from UIView.GetZoomCorners() that does not find any objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I used a large static value like&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;new Outline(new XYZ(-500, -500, -100), new XYZ(500, 500, 100));&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then it finds few elements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide me with the solution if you already know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naym&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 18:01:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-09T18:01:08Z</dc:date>
    <item>
      <title>How to filter elements inside the current zoom extent using .net api?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-filter-elements-inside-the-current-zoom-extent-using-net/m-p/6866766#M60314</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find the family instance from the current extent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Objective is to show a list of instance after panning and zooming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used &lt;STRONG&gt;BoundingBoxIsInsideFilter(Outline)&lt;/STRONG&gt; but what would be the outline input. If I create outline&lt;/P&gt;&lt;P&gt;from UIView.GetZoomCorners() that does not find any objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I used a large static value like&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;new Outline(new XYZ(-500, -500, -100), new XYZ(500, 500, 100));&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then it finds few elements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide me with the solution if you already know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naym&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:01:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-filter-elements-inside-the-current-zoom-extent-using-net/m-p/6866766#M60314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-09T18:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter elements inside the current zoom extent using .net api?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-filter-elements-inside-the-current-zoom-extent-using-net/m-p/6906877#M60315</link>
      <description>&lt;P&gt;&amp;nbsp;UIView.GetZoomCorners()&amp;nbsp; is a flat Curve in the "ScreenPlane", so you'd find only instances that are cut by the view.&lt;/P&gt;
&lt;P&gt;You have to take the view depth into account, and add the Points "at the&amp;nbsp;back of the view" to your Outline.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:46:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-filter-elements-inside-the-current-zoom-extent-using-net/m-p/6906877#M60315</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-02-27T18:46:57Z</dc:date>
    </item>
  </channel>
</rss>

