<?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 ElementIntersectElementFilter in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6751982#M61376</link>
    <description>&lt;P&gt;Is it &lt;SPAN&gt;possible&lt;/SPAN&gt;&amp;nbsp;to use ElementIntersectElementFilter between Parts and Generic Models?&lt;/P&gt;&lt;P&gt;I'm using the code below but I keep getting 0 elements in my collector even if invert the ElementIntersectElementFilter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UIApplication uiApp = commandData.Application;&lt;BR /&gt;Document doc = uiApp.ActiveUIDocument.Document;&lt;/P&gt;&lt;P&gt;Selection selsrc=uiApp.ActiveUIDocument.Selection;&lt;BR /&gt;Reference obj = selSrc.PickObject(ObjectType.Element);&lt;BR /&gt;Element element = doc.GetElement(obj);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FilteredElementCollector collector&amp;nbsp;= new FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Parts).WherePasses(new ElementIntersectsElementFilter(element));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2016 16:14:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-15T16:14:53Z</dc:date>
    <item>
      <title>ElementIntersectElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6751982#M61376</link>
      <description>&lt;P&gt;Is it &lt;SPAN&gt;possible&lt;/SPAN&gt;&amp;nbsp;to use ElementIntersectElementFilter between Parts and Generic Models?&lt;/P&gt;&lt;P&gt;I'm using the code below but I keep getting 0 elements in my collector even if invert the ElementIntersectElementFilter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UIApplication uiApp = commandData.Application;&lt;BR /&gt;Document doc = uiApp.ActiveUIDocument.Document;&lt;/P&gt;&lt;P&gt;Selection selsrc=uiApp.ActiveUIDocument.Selection;&lt;BR /&gt;Reference obj = selSrc.PickObject(ObjectType.Element);&lt;BR /&gt;Element element = doc.GetElement(obj);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FilteredElementCollector collector&amp;nbsp;= new FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Parts).WherePasses(new ElementIntersectsElementFilter(element));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 16:14:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6751982#M61376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-15T16:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: ElementIntersectElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6752333#M61377</link>
      <description>&lt;P&gt;This is a duplicate of your previous ideantical thread:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6751980" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6751980&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please avoid producing multiple identical threads.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us continue the discussion in the other one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 18:02:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/elementintersectelementfilter/m-p/6752333#M61377</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-12-15T18:02:49Z</dc:date>
    </item>
  </channel>
</rss>

