<?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 Floor and Unit data extraction in Forma Site Design Developer Forum</title>
    <link>https://forums.autodesk.com/t5/forma-site-design-developer/floor-and-unit-data-extraction/m-p/13381422#M48</link>
    <description>&lt;P&gt;Hi! I am new to Forma API and I am trying to get the data of the floor and units in the floor.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What would be the best way to get the Floor Data and also the units in it (like type, geometry and such).&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 12:57:34 GMT</pubDate>
    <dc:creator>josepht21</dc:creator>
    <dc:date>2025-03-20T12:57:34Z</dc:date>
    <item>
      <title>Floor and Unit data extraction</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/floor-and-unit-data-extraction/m-p/13381422#M48</link>
      <description>&lt;P&gt;Hi! I am new to Forma API and I am trying to get the data of the floor and units in the floor.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What would be the best way to get the Floor Data and also the units in it (like type, geometry and such).&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 12:57:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/floor-and-unit-data-extraction/m-p/13381422#M48</guid>
      <dc:creator>josepht21</dc:creator>
      <dc:date>2025-03-20T12:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Floor and Unit data extraction</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/floor-and-unit-data-extraction/m-p/13402694#M49</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Joseph &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What you can do is to inspect the grossFloorAreaPolygons:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/elements.RepresentationsApi.html#grossfloorareapolygons" target="_blank"&gt;https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/elements.RepresentationsApi.html#grossfloorareapolygons&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;interface GrossFloorAreaPolygon {
    areaType?: GrossFloorAreaType;
    elevation: number;
    grossFloorPolygon: MultiRingPolygon;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to get the element hierarchy recursively from the building level and call this on each returned element and aggregate them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simples way is to call `Forma.elements.getByPath` with the recursive argument set:&amp;nbsp;&lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/elements.ElementsApi.html#getbypath" target="_blank"&gt;https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/elements.ElementsApi.html#getbypath&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no standard way to read out floors, but grouping the gross floor areas by elevation would be one approximation. The reason for this is that we do not have a single source of buildings in Forma, and you will need to rely on the representation only to interpret what the elements are.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Håvard&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 19:16:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/floor-and-unit-data-extraction/m-p/13402694#M49</guid>
      <dc:creator>havard.hoiby</dc:creator>
      <dc:date>2025-04-01T19:16:52Z</dc:date>
    </item>
  </channel>
</rss>

