<?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: Detecting Walls obscured by detail component families in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9838815#M30739</link>
    <description>&lt;P&gt;Detail items are 2D view based items. Therefore ReferenceIntersector will not help as it requires a 3D view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to look at their relation to what is behind in terms of the 2D projected view plane. Nothing can be in front of one apart from another detail item. So in simple terms if one of the co-ordinates of the detail item is within the projected 2D boundary of the wall then it obscures the wall in some way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You probably need a bit more description of the task i.e. wall in elevation view, wall in plan view?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Nov 2020 23:41:27 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2020-11-01T23:41:27Z</dc:date>
    <item>
      <title>Detecting Walls obscured by detail component families</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9836445#M30737</link>
      <description>&lt;P&gt;I can think of a few methods that might work..&lt;/P&gt;&lt;P&gt;1. Walls hidden under detail component may be found by projection ray upwards.&lt;/P&gt;&lt;P&gt;2. Bounding box from wall could be extended upwards to intersect with detail components above.&lt;/P&gt;&lt;P&gt;3. detail component intersects its plane with that of a wall.&lt;/P&gt;&lt;P&gt;4. some hidden in view property i am unaware of.&lt;/P&gt;&lt;P&gt;If anyone knows a best method I would appreciate it, i will post a soln if i can get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 08:07:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9836445#M30737</guid>
      <dc:creator>frankholidayjunior</dc:creator>
      <dc:date>2020-10-31T08:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Walls obscured by detail component families</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9836479#M30738</link>
      <description>&lt;P&gt;I tried this though i didn't think it would work.&lt;/P&gt;&lt;P&gt;detail components don't intersect walls...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Element element = doc.GetElement(reference);&lt;BR /&gt;GeometryElement geomElement = element.get_Geometry(new Options());&lt;BR /&gt;Solid solid = null;&lt;BR /&gt;foreach (GeometryObject geomObj in geomElement)&lt;BR /&gt;{&lt;BR /&gt;solid = geomObj as Solid;&lt;BR /&gt;if (solid != null) break;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 08:44:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9836479#M30738</guid>
      <dc:creator>frankholidayjunior</dc:creator>
      <dc:date>2020-10-31T08:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Walls obscured by detail component families</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9838815#M30739</link>
      <description>&lt;P&gt;Detail items are 2D view based items. Therefore ReferenceIntersector will not help as it requires a 3D view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to look at their relation to what is behind in terms of the 2D projected view plane. Nothing can be in front of one apart from another detail item. So in simple terms if one of the co-ordinates of the detail item is within the projected 2D boundary of the wall then it obscures the wall in some way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You probably need a bit more description of the task i.e. wall in elevation view, wall in plan view?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 23:41:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9838815#M30739</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2020-11-01T23:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting Walls obscured by detail component families</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9839693#M30740</link>
      <description>&lt;P&gt;Hi RPThomas,&lt;/P&gt;&lt;P&gt;I am trying to not tag walls that are under a large detail component, that can run along one side of a viewport in plan view. Also I realised it was unlikely that ReferenceIntersector would work, I am keeping my options open at the moment, so I dont end up with an awkward soln.&lt;/P&gt;&lt;P&gt;From what you wrote my understanding is that i can check...&lt;/P&gt;&lt;P&gt;The tag is in front of the large detail comp.&lt;/P&gt;&lt;P&gt;The wall is below the large detail comp.&lt;/P&gt;&lt;P&gt;and use a 2d projection, I will need to read up on getting 2d projections and have&amp;nbsp; a go at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 11:32:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/detecting-walls-obscured-by-detail-component-families/m-p/9839693#M30740</guid>
      <dc:creator>frankholidayjunior</dc:creator>
      <dc:date>2020-11-02T11:32:33Z</dc:date>
    </item>
  </channel>
</rss>

