<?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: Zone Areas in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241580#M4255</link>
    <description>Worked perfectly - Completely missed this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Sun, 09 Sep 2018 15:04:35 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2018-09-09T15:04:35Z</dc:date>
    <item>
      <title>Zone Areas</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241578#M4253</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Is there any way to obtain the measured and calculated areas of Zones using the API. I can obtain the zone structure of 'API_Zone_Type' for each zone but it does not appear to contain a area parameter.&lt;BR /&gt;&lt;BR /&gt;Need to compare zone areas to obtain FAR's and other factors and would prefer to do it within a "Add-on'. if someone could point me in the right direction?&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jul 2023 12:09:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241578#M4253</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-07-04T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Areas</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241579#M4254</link>
      <description>You can retrieve the calculated quantities of an element using ACAPI_Element_GetQuantities function.&lt;BR /&gt;
This function returns the area of the given zone:
&lt;PRE&gt;double GetAreaOfZone (const API_Guid&amp;amp; zoneGuid)
{
	API_ElementQuantity	quantity = {};
	API_Quantities		quantities = {};
	API_QuantitiesMask	mask;

	ACAPI_ELEMENT_QUANTITY_MASK_CLEAR (mask);
	ACAPI_ELEMENT_QUANTITY_MASK_SET (mask, zone, area);

	quantities.elements = &amp;amp;quantity;
	ACAPI_Element_GetQuantities (zoneGuid, nullptr, &amp;amp;quantities, &amp;amp;mask);

	return quantity.zone.area;
}&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Sep 2018 08:38:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241579#M4254</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2018-09-09T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Areas</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241580#M4255</link>
      <description>Worked perfectly - Completely missed this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Sun, 09 Sep 2018 15:04:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Zone-Areas/m-p/241580#M4255</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2018-09-09T15:04:35Z</dc:date>
    </item>
  </channel>
</rss>

