<?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 create a Bounding Box for visible elements only? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11352994#M17552</link>
    <description>&lt;P&gt;Yes, I was afraid of that. The Revit Element bounding box can be used for quick element filtering, which means that it is available for searching the database without loading the entire element definition into memory. That gives me the impression that&amp;nbsp;it is precomputed and stored in the element header data, in which case it will be one size fits all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 06:54:13 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2022-08-11T06:54:13Z</dc:date>
    <item>
      <title>How to create a Bounding Box for visible elements only?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11350558#M17549</link>
      <description>&lt;P&gt;I have a Revit family where certain elements of it do not appear in "Coarse" and "Medium" Detail Levels. I need to create a Bounding Box of only the visible elements, but whenever I try I can only get it for the whole element, even though parts of it are not visible in the specific view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the screenshot below, the upper element is a generic annotation and the bottom element is actual 3D Geometry. I have situations where the upper element is also a Detail Item, all nested in the family.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioVachevIPA_0-1660114411712.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102281i0623160FF998FA59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonioVachevIPA_0-1660114411712.png" alt="AntonioVachevIPA_0-1660114411712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what it looks like in "Course" Detail Level (no 3D geometry visible):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonioVachevIPA_1-1660114962511.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102285i1347195C4F4AD00A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonioVachevIPA_1-1660114962511.png" alt="AntonioVachevIPA_1-1660114962511.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Essentially, what I am trying to do is arrange the symbols in a legend and I need to know the height of the visible elements only, hence the bounding box. Any suggestions are very much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 07:05:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11350558#M17549</guid>
      <dc:creator>Antonio.VachevIPA</dc:creator>
      <dc:date>2022-08-10T07:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Bounding Box for visible elements only?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11351541#M17550</link>
      <description>&lt;P&gt;You can specify a view argument to the bounding box property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2023/def2f9f2-b23a-bcea-43a3-e6de41b014c8.htm" target="_blank"&gt;https://www.revitapidocs.com/2023/def2f9f2-b23a-bcea-43a3-e6de41b014c8.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would assume that the view's detail level setting is respected by that method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 15:51:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11351541#M17550</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-08-10T15:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Bounding Box for visible elements only?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11352989#M17551</link>
      <description>&lt;P&gt;Thanks for the reply, Jeremy. I've tried some nodes within Dynamo that ask for the View, but that does not have any effect on the bbox in terms of ignoring invisible elements in the instance. Following the link you sent, I read this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Also note that this bounding box volume may enclose geometry that is not obvious. For example, the "flip controls" that could be part of a family will be included in the computation of the bounding box even though they are not always visible in the family instance of the family."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will give it a try anyways and let you know. Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 06:45:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11352989#M17551</guid>
      <dc:creator>Antonio.VachevIPA</dc:creator>
      <dc:date>2022-08-11T06:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Bounding Box for visible elements only?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11352994#M17552</link>
      <description>&lt;P&gt;Yes, I was afraid of that. The Revit Element bounding box can be used for quick element filtering, which means that it is available for searching the database without loading the entire element definition into memory. That gives me the impression that&amp;nbsp;it is precomputed and stored in the element header data, in which case it will be one size fits all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 06:54:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-bounding-box-for-visible-elements-only/m-p/11352994#M17552</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-08-11T06:54:13Z</dc:date>
    </item>
  </channel>
</rss>

