<?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: Dimensions of skin inside a wall in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Dimensions-of-skin-inside-a-wall/m-p/672112#M10519</link>
    <description>&lt;P&gt;Hi, Does it make sense for you to get the skin thickness by using ACAPI_Attribute_get() function, then calulate the the length of the skin ?&lt;/P&gt;
&lt;P&gt;(len = comp.projectedArea/skin thickness, height = comp.volumes/comp.projectedArea)&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2025 02:47:26 GMT</pubDate>
    <dc:creator>Hiromichi Shinkawa</dc:creator>
    <dc:date>2025-08-05T02:47:26Z</dc:date>
    <item>
      <title>Dimensions of skin inside a wall</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dimensions-of-skin-inside-a-wall/m-p/664599#M10429</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to get the dimensions of a particular skin inside a wall I am able to get to the skin by the following code but the only dimensions I seem to have access to is projected area and volume, but I am wanting to pull height and length as well. Also I am on Archicad 24.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;for (auto&amp;amp; guid : elements) {

	API_Element wallElement;
	BNZeroMemory(&amp;amp;wallElement, sizeof(wallElement));
	wallElement.header.guid = guid;
	GSErrCode err = ACAPI_Element_Get(&amp;amp;wallElement);

	API_QuantityPar params{};
	GS::Array&amp;lt;API_CompositeQuantity&amp;gt; comps;
	API_Quantities quants;
	API_ElementQuantity elemQuants{};
	quants.elements = &amp;amp;elemQuants;
	quants.composites = &amp;amp;comps;
	API_QuantitiesMask mask;
	ACAPI_ELEMENT_QUANTITIES_MASK_SETFULL(mask);
	auto error = ACAPI_Element_GetQuantities(guid, &amp;amp;params, &amp;amp;quants, &amp;amp;mask);
	if (error != NoError)
		continue;
	for (auto&amp;amp; comp : comps) {
		if (IsMaterialFrame(comp)) {
			comp.projectedArea;
			comp.volumes;
		}
	}

}&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 04 Jun 2025 00:00:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dimensions-of-skin-inside-a-wall/m-p/664599#M10429</guid>
      <dc:creator>Nathan676</dc:creator>
      <dc:date>2025-06-04T00:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions of skin inside a wall</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dimensions-of-skin-inside-a-wall/m-p/672112#M10519</link>
      <description>&lt;P&gt;Hi, Does it make sense for you to get the skin thickness by using ACAPI_Attribute_get() function, then calulate the the length of the skin ?&lt;/P&gt;
&lt;P&gt;(len = comp.projectedArea/skin thickness, height = comp.volumes/comp.projectedArea)&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 02:47:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dimensions-of-skin-inside-a-wall/m-p/672112#M10519</guid>
      <dc:creator>Hiromichi Shinkawa</dc:creator>
      <dc:date>2025-08-05T02:47:26Z</dc:date>
    </item>
  </channel>
</rss>

