<?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: Bounding Box Functionality in Revit in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737664#M5656</link>
    <description>&lt;P&gt;Thanks again!&lt;BR /&gt;Another question in that manner that popped up to me - why do I get different Z values in Bounding Box of a wall in 2D view vs. 3D view?&lt;/P&gt;&lt;P&gt;Image for instance for a single wall:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mizrahi_amir_0-1714197593714.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1355563i97618A9868B1CAA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mizrahi_amir_0-1714197593714.png" alt="mizrahi_amir_0-1714197593714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Apr 2024 06:00:28 GMT</pubDate>
    <dc:creator>mizrachi_amir2</dc:creator>
    <dc:date>2024-04-27T06:00:28Z</dc:date>
    <item>
      <title>Bounding Box Functionality in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737254#M5652</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to figure out the functionality of the Element Bounding Box in Revit.&lt;/P&gt;&lt;P&gt;I created a 100mm thick wall, length 880mm.&lt;/P&gt;&lt;P&gt;in top view, I placed the bottom-left edge of the wall in PBP/SP/Internal Point&amp;nbsp; which is in 0,0,0:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mizrahi_amir_0-1714167477953.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1355506i6D572C29E22B2F03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mizrahi_amir_0-1714167477953.png" alt="mizrahi_amir_0-1714167477953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case I was expecting to see that Min XYZ point is 0,0,0, while MAX XYZ is as-is (2.887 feet = 880 mm, 0.328 feet = 100 mm). But actually Min param shows some other value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mizrahi_amir_1-1714167812426.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1355508i4C0B6B91CACD65EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mizrahi_amir_1-1714167812426.png" alt="mizrahi_amir_1-1714167812426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone explain what am I missing here and how does that actually work in Revit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 21:56:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737254#M5652</guid>
      <dc:creator>mizrachi_amir2</dc:creator>
      <dc:date>2024-04-26T21:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding Box Functionality in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737626#M5653</link>
      <description>&lt;P&gt;the minimum value that you see &lt;SPAN&gt;represents a very small value close to zero.&amp;nbsp;In &lt;A href="https://www.mathsisfun.com/numbers/scientific-notation.html" target="_blank" rel="noopener"&gt;scientific notation&lt;/A&gt;, the number is expressed as the product of a coefficient and a power of 10. In this case, the coefficient is -2.82696...., and the exponent is -16.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the exponent is negative, it indicates that the decimal point is shifted to the left by that number of places. So, in this case, you would move the decimal point 16 places to the left, making the number extremely close to zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In short, you may consider numbers with negative Exponent as zero, or very very close to zero if you want to be precise.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 05:01:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737626#M5653</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-04-27T05:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding Box Functionality in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737629#M5654</link>
      <description>&lt;P&gt;Thank you, &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/549406"&gt;@Moustafa_K&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;I missed that exponent. But still why I don't see a complete zero value, but one very close to zero? Is this how Revit behaves?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 05:07:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737629#M5654</guid>
      <dc:creator>mizrachi_amir2</dc:creator>
      <dc:date>2024-04-27T05:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding Box Functionality in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737636#M5655</link>
      <description>&lt;P&gt;that would be a very long discussion to explain, but briefly&amp;nbsp;&lt;SPAN&gt;it's common to encounter values that are very close to zero instead of a complete zero, particularly when dealing with floating-point numbers. This is due to the way floating-point numbers are represented and stored in memory. you need to know this behavior is not specific to Revit but is rather a fundamental characteristic of how floating-point arithmetic works in most programming languages and environments.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 05:12:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737636#M5655</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-04-27T05:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding Box Functionality in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737664#M5656</link>
      <description>&lt;P&gt;Thanks again!&lt;BR /&gt;Another question in that manner that popped up to me - why do I get different Z values in Bounding Box of a wall in 2D view vs. 3D view?&lt;/P&gt;&lt;P&gt;Image for instance for a single wall:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mizrahi_amir_0-1714197593714.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1355563i97618A9868B1CAA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mizrahi_amir_0-1714197593714.png" alt="mizrahi_amir_0-1714197593714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 06:00:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737664#M5656</guid>
      <dc:creator>mizrachi_amir2</dc:creator>
      <dc:date>2024-04-27T06:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding Box Functionality in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737702#M5657</link>
      <description>&lt;P&gt;When you supply a view as an argument to get the a Boundingbox of an element, the returned boundingbox value is trimmed to the bounds of the view i.e. View.CropBox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if you draw a wall that has a height 8 meters and placed on Level 0, and your project is 2 levels, [L0, height 3] , [L1, height 5]&lt;/P&gt;&lt;P&gt;Getting the boundingbox of the wall&amp;nbsp;&lt;SPAN&gt;in L0 will return a BoundingBox of&amp;nbsp;&lt;/SPAN&gt;minimum Z = 0 and maximum Z = 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and typically for L1 would be minimum Z = 3 and max Z = 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and if you provided null, this means no trim, the you will get minimum Z = 0 and Maximum Z = 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this simple explanation helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 06:57:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-functionality-in-revit/m-p/12737702#M5657</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-04-27T06:57:34Z</dc:date>
    </item>
  </channel>
</rss>

