<?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 in Dynamo in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10409037#M25247</link>
    <description>&lt;P&gt;If level is wrong could be related to Level.Elevation vs Level.ProjectElevation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Level.Elevation:&lt;/P&gt;&lt;P&gt;Retrieves or changes the elevation above or below the ground level.&lt;/P&gt;&lt;P&gt;Level.ProjectElevation:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="saveHistory"&gt;&lt;DIV class="summary"&gt;Retrieves the elevation relative to project origin, no matter what values of the Elevation Base parameter is set.&lt;/DIV&gt;&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="summary"&gt;BoundingBox doesn't consider elevation base parameter.&lt;/DIV&gt;&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="summary"&gt;Should also note that last time I checked the built-in dynamo nodes for co-ords seem to report old information (ignoring changes in base point objects), however a python node doing similar worked ok.&lt;/DIV&gt;&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="summary"&gt;&lt;A href="https://github.com/DynamoDS/Dynamo/issues/7297" target="_blank" rel="noopener"&gt;Revit.Elements.Coordinates nodes not updating when moved in Revit project · Issue #7297 · DynamoDS/Dynamo · GitHub&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 21 Jun 2021 20:18:51 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2021-06-21T20:18:51Z</dc:date>
    <item>
      <title>Bounding box in Dynamo &amp; Revit API vs Revit View it's not the same</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10408765#M25244</link>
      <description>&lt;P&gt;So here is my problem, I'm developing add-in for Autodesk Navisworks to get all elements on floors based on their geometry. To do that, I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;element.get_Geometry(new Options).GetBoundingBox()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, I got elements from top/bottom floors, seemingly incorrectly. But when I tried to see what is happening in Dynamo, I got this:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-06-21 200636.png" style="width: 669px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/932794i2A830DC42F23DE3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-06-21 200636.png" alt="Screenshot 2021-06-21 200636.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-06-21 200721.png" style="width: 926px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/932795i1E9B4078D1242998/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-06-21 200721.png" alt="Screenshot 2021-06-21 200721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So first image shows level in Revit with curtain wall, second image shows level (brown) in Dynamo with bounding box of an element (purple). Numbers on the Dynamo image are the same I got through Revit API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 18:10:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10408765#M25244</guid>
      <dc:creator>rade_tomovic</dc:creator>
      <dc:date>2021-06-21T18:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding box in Dynamo &amp; Revit API vs Revit View it's not the same</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10408933#M25245</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;The reason is rather simple: these are different kinds of objects.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt; BB in Dynamo is not the same as in Revit API. Dimensions of BB got in Dynamo may differ from dimensions of BB got with Revit API (the size of the latter may be affected by a number of hidden geometry elements).&lt;/P&gt;
&lt;P&gt;So you have to choose wich objects you want to work with. And choose only one of them for the consistancy.&lt;/P&gt;
&lt;P&gt;P.S. If I were you I would use Dynamo BB as they provide more predictable results (in my opinion).&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 19:23:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10408933#M25245</guid>
      <dc:creator>architect.bim</dc:creator>
      <dc:date>2021-06-21T19:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding box in Dynamo</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10409022#M25246</link>
      <description>Yep, but the problem is that both Dynamo and Revit API are having the same values for BB Z coordinate, but somehow when you compare that to any view, it looks like level is somehow not aligned (check attached images). Is there a possibility the fact that project base point and triangle point (forgot what is the exact name) are not aligned somehow affects position readout?&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jun 2021 20:03:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10409022#M25246</guid>
      <dc:creator>rade_tomovic</dc:creator>
      <dc:date>2021-06-21T20:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding box in Dynamo</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10409037#M25247</link>
      <description>&lt;P&gt;If level is wrong could be related to Level.Elevation vs Level.ProjectElevation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Level.Elevation:&lt;/P&gt;&lt;P&gt;Retrieves or changes the elevation above or below the ground level.&lt;/P&gt;&lt;P&gt;Level.ProjectElevation:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="saveHistory"&gt;&lt;DIV class="summary"&gt;Retrieves the elevation relative to project origin, no matter what values of the Elevation Base parameter is set.&lt;/DIV&gt;&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="summary"&gt;BoundingBox doesn't consider elevation base parameter.&lt;/DIV&gt;&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="summary"&gt;Should also note that last time I checked the built-in dynamo nodes for co-ords seem to report old information (ignoring changes in base point objects), however a python node doing similar worked ok.&lt;/DIV&gt;&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="summary"&gt;&lt;A href="https://github.com/DynamoDS/Dynamo/issues/7297" target="_blank" rel="noopener"&gt;Revit.Elements.Coordinates nodes not updating when moved in Revit project · Issue #7297 · DynamoDS/Dynamo · GitHub&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Jun 2021 20:18:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10409037#M25247</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-06-21T20:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding box in Dynamo &amp; Revit API vs Revit View it's not the same</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10410077#M25248</link>
      <description>&lt;P&gt;So you're saying that BoundingBox Z-coordinates are not comparable to Level.Elevation but rather to Level.ProjectElevation?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 06:57:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10410077#M25248</guid>
      <dc:creator>rade_tomovic</dc:creator>
      <dc:date>2021-06-22T06:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bounding box in Dynamo &amp; Revit API vs Revit View it's not the same</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10410645#M25249</link>
      <description>&lt;P&gt;Yes there is a slight conflict in terminology because general Revit users think of the project coordinate system but with API ProjectElevation means internal i.e. the internal origin of the project file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Level.Elevation is going to depend on three things:&lt;/P&gt;&lt;P&gt;The internal level&lt;/P&gt;&lt;P&gt;The project base point level&lt;/P&gt;&lt;P&gt;What has been set for Elevation Base in the associated level type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically Level.Elevation indicates the elevation you see when you place the level in a view.&lt;/P&gt;&lt;P&gt;The below image highlights the differences and also includes permutations of similar settings in Spot Elevations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I moved the clipped survey point down 10ft and project base point down 5ft. The internal origin is shown at Level 0 / Level 1. The values you get in Revit Lookup are shown adjacent to each level.&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="210622_Levels.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/933003iEB57176CFBF72530/image-size/large?v=v2&amp;amp;px=999" role="button" title="210622_Levels.png" alt="210622_Levels.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary best to use ProjectElevation for most API activities with levels (this is unambiguous compared to internal).&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 10:36:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bounding-box-in-dynamo-amp-revit-api-vs-revit-view-it-s-not-the/m-p/10410645#M25249</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-06-22T10:36:29Z</dc:date>
    </item>
  </channel>
</rss>

