<?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: Get bounding box from solid of a structural column is not accurate in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180829#M19008</link>
    <description>&lt;P&gt;When you say "bounding box", I assume that you are using the Element BoundingBox property, i.e.., get_BoundingBox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What issues is this causing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As said, you can never assume that a bounding box is minimal, so, if this is causing an issue with your tools, I would recommend checking whether they are erroneously making this assumption. If they are, it might be safer to fix them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 19:36:28 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2022-05-19T19:36:28Z</dc:date>
    <item>
      <title>Get bounding box from solid of a structural column is not accurate</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11179839#M19005</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have an issue getting an accurate bounding box from a solid of &lt;STRONG&gt;structural columns only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Following is an example of a few elements and the bounding box that was created from them (the bounding box is yellow):&lt;/P&gt;&lt;P&gt;Structural Column extrusion (you can see that the yellow bounding box is larger than the actual column):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heziTYJKR_0-1652965658178.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1069273i006E60059E7BEFF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="heziTYJKR_0-1652965658178.png" alt="heziTYJKR_0-1652965658178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;A structural column with blend shape (this one is also inaccurate):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heziTYJKR_1-1652965755635.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1069276iB7AE86D106605F72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="heziTYJKR_1-1652965755635.png" alt="heziTYJKR_1-1652965755635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And just to check that it is not happening to any direct shape, I tried getting a bounding box for extrusion of structural framing and I got an accurate result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heziTYJKR_2-1652965855914.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1069278iE332FD7190E22781/image-size/medium?v=v2&amp;amp;px=400" role="button" title="heziTYJKR_2-1652965855914.png" alt="heziTYJKR_2-1652965855914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So in other words: getting a bounding box from solid works for many kinds of shapes except for a shape created as part of a structural column.&lt;/P&gt;&lt;P&gt;Note: if I get a bounding box for those shapes using get_boundingbox(null) method then it works, but we want to have a unified and more accurate method for all the elements to obtain an accurate bounding box from the solid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 13:14:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11179839#M19005</guid>
      <dc:creator>heziTYJKR</dc:creator>
      <dc:date>2022-05-19T13:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get bounding box from solid of a structural column is not accurate</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180397#M19006</link>
      <description>&lt;P&gt;I do not see the inaccuracy that you describe. Is my eyesight poor, or is the inaccuracy pretty small?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember: a bounding box is a bounding box. There is no guarantee that a bounding box is minimal. Never.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main purpose of a bounding box is &lt;U&gt;speed&lt;/U&gt;, &lt;U&gt;not&lt;/U&gt; accuracy, and &lt;U&gt;definitely not&lt;/U&gt; to be minimal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 16:38:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180397#M19006</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-05-19T16:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get bounding box from solid of a structural column is not accurate</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180662#M19007</link>
      <description>&lt;P&gt;Let me present it in more details, the red area is the difference between the received bounding box and the actual element:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heziTYJKR_0-1652984340411.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1069468i4A3D6CAFF8144939/image-size/medium?v=v2&amp;amp;px=400" role="button" title="heziTYJKR_0-1652984340411.png" alt="heziTYJKR_0-1652984340411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is 1/16" and it has an effect on our tools.&lt;/P&gt;&lt;P&gt;We need a precise accuracy and we do get it in most of the cases and this is the reason that we use the solid and not just the original get_boundingbox method.&lt;/P&gt;&lt;P&gt;The fact that it works for other kinds of direct shapes proves that something is wrong in this specific case.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 18:22:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180662#M19007</guid>
      <dc:creator>heziTYJKR</dc:creator>
      <dc:date>2022-05-19T18:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get bounding box from solid of a structural column is not accurate</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180829#M19008</link>
      <description>&lt;P&gt;When you say "bounding box", I assume that you are using the Element BoundingBox property, i.e.., get_BoundingBox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What issues is this causing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As said, you can never assume that a bounding box is minimal, so, if this is causing an issue with your tools, I would recommend checking whether they are erroneously making this assumption. If they are, it might be safer to fix them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 19:36:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11180829#M19008</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-05-19T19:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get bounding box from solid of a structural column is not accurate</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11186295#M19009</link>
      <description>&lt;P&gt;When I say bounding box in the specific case of the solid, this is what I mean:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2015/716fecd9-7d09-fa61-5c02-de714259a214.htm" target="_blank"&gt;https://www.revitapidocs.com/2015/716fecd9-7d09-fa61-5c02-de714259a214.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to get a minimal bounding box and this is why we are working with the solid.&lt;/P&gt;&lt;P&gt;As I said, in most cases, it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After further investigation, we discovered that this happens if at least one of the corners is round.&lt;/P&gt;&lt;P&gt;I hope this also helps.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 07:01:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-bounding-box-from-solid-of-a-structural-column-is-not/m-p/11186295#M19009</guid>
      <dc:creator>heziTYJKR</dc:creator>
      <dc:date>2022-05-23T07:01:34Z</dc:date>
    </item>
  </channel>
</rss>

