<?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: API bug in ElementIntersectsElementFilter in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7131735#M58021</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Revitalizer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you open the project, you can see that it's not a Revit Rebar, it's a customer family and it has solid geometry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Siwan&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 13:00:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-06T13:00:28Z</dc:date>
    <item>
      <title>API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7126449#M58019</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During development I found that the&amp;nbsp;Revit API&amp;nbsp;ElementIntersectsElementFilter fails on finding the intersection between the rebar and Beam(T-Girder) FLAT member at some specific positions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the model(2016), .addin and .dll file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help me with this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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,&lt;/P&gt;&lt;P&gt;Siwan&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 21:08:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7126449#M58019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-02T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7130872#M58020</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the RevitAPI.chm, on the ElementIntersectsElementFilter page, it says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"[...] Also, elements which have no solid geometry, such as Rebar, will never be detected as intersecting by this filter."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not a bug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 06:46:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7130872#M58020</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-06-06T06:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7131735#M58021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Revitalizer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you open the project, you can see that it's not a Revit Rebar, it's a customer family and it has solid geometry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Siwan&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:00:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7131735#M58021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T13:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7131940#M58022</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've opened your Revit file but cannot tell you why the Filter does not function.&lt;/P&gt;
&lt;P&gt;Since you did provide the dll but none of the code, there are no other hints.&lt;/P&gt;
&lt;P&gt;Sorry, no idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:04:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7131940#M58022</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-06-06T14:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132138#M58023</link>
      <description>&lt;P&gt;the beam family has no geometry defined&amp;nbsp; (geometry is part of the nested shared family). so nothing intersects with the beam.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:01:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132138#M58023</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-06-06T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132275#M58024</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am actually looking for the intersection between the "FLAT" (nested) member of&amp;nbsp;that beam and the custom rebar family (specialty equipment) so I think both of them have family geometry. Also if you move the rebar to other places&amp;nbsp;the function would return that they're&amp;nbsp;intersected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the code. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:42:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132275#M58024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T15:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132286#M58025</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I've attached the code in the screen shot for you to see if it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am looking for the intersection between the "FLAT" (nested) member of&amp;nbsp;that beam and the custom rebar family (specialty equipment), and it works in most&amp;nbsp;intersection places but not the position that I put the rebar on.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:46:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132286#M58025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T15:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132288#M58026</link>
      <description>&lt;P&gt;Please see attached file&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:47:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7132288#M58026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-06T15:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7133295#M58027</link>
      <description>&lt;P&gt;on analysing the nested families, I noted that&amp;nbsp;the path of the&amp;nbsp;Warped family is a part of a very large circle. So the host face of the rebar-family is ever so slightly non horizontal. So you're entering into areas of&amp;nbsp;numerical imprecision when dealing with pointy things, slightly of axis elements and things&amp;nbsp;like that.&amp;nbsp;So the bug is not a bug of the filter, but a "bug" of imperfect calculation.&lt;/P&gt;
&lt;P&gt;If you replace the swept-path with a straight line, the Flat-family&amp;nbsp;will find the intersection with the rebar family.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 21:55:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7133295#M58027</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-06-06T21:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: API bug in ElementIntersectsElementFilter</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7135209#M58028</link>
      <description>&lt;P&gt;Looks like the case.&amp;nbsp; The radius is 29999' 11 7/8" and with single precision values we basically get about 6-7 digits of precision so 29999.9895833333 which probably gives us a resulting 29999.98 (roughly) and the rebar 1/2 diameter is 0.015625' so it's pretty close to the murky region.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The consternation is that it isn't a failed intersection all over the piece, only at certain locations so in calculating it must just be random enough, in terms of floating point rounding, that it works sometimes and not others.&amp;nbsp; I would like to see it a little more consistently failing at the middle of the element (where the camber delta is greatest and not at the end where the camber delta is not) but as it's really rounding precision error it's probably too much to ask.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If, however, Revit is working in double precision then this is a legit bug, even with the bar hosted to the warped element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:01:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/api-bug-in-elementintersectselementfilter/m-p/7135209#M58028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-07T15:01:35Z</dc:date>
    </item>
  </channel>
</rss>

