<?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: Curtain Wall Geometry in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139285#M6131</link>
    <description>Thanks a lot!  &lt;BR /&gt;
 &lt;BR /&gt;
I managed to get curtain wall geometries quite easily. The 3D_Test.c example was useful.  &lt;BR /&gt;
 &lt;BR /&gt;
Why in the 3D_Test.c example (see. code) there is degenerate check for frames too? This check seems to fail always for frames. I used the check only for panels. &lt;BR /&gt;
 
&lt;PRE&gt; 
// frames 
GSSize nFrames = BMGetPtrSize (reinterpret_cast&amp;lt;GSPtr&amp;gt;(memo.cWallFrames)) / sizeof (API_CWallFrameType); 
for (idx = 0; idx &amp;lt; nFrames; ++idx) { 
	err = ACAPI_Database (APIDb_IsCWPanelDegenerateID, &amp;amp;memo.cWallFrames[idx].head.guid, &amp;amp;isDegenerate); 
	if (!isDegenerate) { 
		elems.Push (memo.cWallFrames[idx].head); 
	} else { 
		GS::Guid guid = APIGuid2GSGuid (memo.cWallFrames[idx].head.guid); 
		WriteReport ("Degenerate Frame: %s", (const char*) guid.ToUniString ().ToCStr ()); 
	} 
} 
 
 
// panels 
GSSize nPanels = BMGetPtrSize (reinterpret_cast&amp;lt;GSPtr&amp;gt;(memo.cWallPanels)) / sizeof (API_CWallPanelType); 
for (idx = 0; idx &amp;lt; nPanels; ++idx) { 
	err = ACAPI_Database (APIDb_IsCWPanelDegenerateID, &amp;amp;memo.cWallPanels[idx].head.guid, &amp;amp;isDegenerate); 
	if (!isDegenerate) { 
		elems.Push (memo.cWallPanels[idx].head); 
	} else { 
		GS::Guid guid = APIGuid2GSGuid (memo.cWallPanels[idx].head.guid); 
		WriteReport ("Degenerate Panel: %s", (const char*) guid.ToUniString ().ToCStr ()); 
	} 
} 
 
&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Dec 2010 14:22:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-12-08T14:22:00Z</dc:date>
    <item>
      <title>Curtain Wall Geometry</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139283#M6129</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello, &lt;BR /&gt;&lt;BR /&gt;I need to create 3D representation of curtain wall for export. I know that curtain walls in AC consists of segments, frames, panels, junction and accessories. &lt;BR /&gt;&lt;BR /&gt;Here is couple of questions: &lt;BR /&gt;What is easiest way get access to curtain wall geometry? &lt;BR /&gt;How get access to curtain wall components using API_CurtainWallID? &lt;BR /&gt;
&lt;PRE&gt; 
API_CurtainWallType           curtainWall; 
API_CWallSegmentType          cwSegment; 
API_CWallFrameType            cwFrame; 
API_CWallPanelType            cwPanel; 
API_CWallJunctionType         cwJunction; 
API_CWallAccessoryType        cwAccessory; 
&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Sep 2024 08:58:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139283#M6129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-09T08:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Curtain Wall Geometry</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139284#M6130</link>
      <description>&lt;BLOCKQUOTE&gt;Matti wrote:&lt;BR /&gt;I need to create 3D representation of curtain wall for export. I know that curtain walls in AC consists of segments, frames, panels, junction and accessories. &lt;BR /&gt;
 &lt;BR /&gt;
Here is couple of questions: &lt;BR /&gt;
What is easiest way get access to curtain wall geometry? &lt;BR /&gt;
How get access to curtain wall components using API_CurtainWallID? &lt;/BLOCKQUOTE&gt;
Take a look at the documentation for ModelAccess - there are methods to access all the 3D primitives.&lt;BR /&gt;
&lt;BR /&gt;
Alternatively, the (older) methods described in the 3D Manager documentation can be used too.</description>
      <pubDate>Tue, 30 Nov 2010 17:53:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139284#M6130</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2010-11-30T17:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Curtain Wall Geometry</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139285#M6131</link>
      <description>Thanks a lot!  &lt;BR /&gt;
 &lt;BR /&gt;
I managed to get curtain wall geometries quite easily. The 3D_Test.c example was useful.  &lt;BR /&gt;
 &lt;BR /&gt;
Why in the 3D_Test.c example (see. code) there is degenerate check for frames too? This check seems to fail always for frames. I used the check only for panels. &lt;BR /&gt;
 
&lt;PRE&gt; 
// frames 
GSSize nFrames = BMGetPtrSize (reinterpret_cast&amp;lt;GSPtr&amp;gt;(memo.cWallFrames)) / sizeof (API_CWallFrameType); 
for (idx = 0; idx &amp;lt; nFrames; ++idx) { 
	err = ACAPI_Database (APIDb_IsCWPanelDegenerateID, &amp;amp;memo.cWallFrames[idx].head.guid, &amp;amp;isDegenerate); 
	if (!isDegenerate) { 
		elems.Push (memo.cWallFrames[idx].head); 
	} else { 
		GS::Guid guid = APIGuid2GSGuid (memo.cWallFrames[idx].head.guid); 
		WriteReport ("Degenerate Frame: %s", (const char*) guid.ToUniString ().ToCStr ()); 
	} 
} 
 
 
// panels 
GSSize nPanels = BMGetPtrSize (reinterpret_cast&amp;lt;GSPtr&amp;gt;(memo.cWallPanels)) / sizeof (API_CWallPanelType); 
for (idx = 0; idx &amp;lt; nPanels; ++idx) { 
	err = ACAPI_Database (APIDb_IsCWPanelDegenerateID, &amp;amp;memo.cWallPanels[idx].head.guid, &amp;amp;isDegenerate); 
	if (!isDegenerate) { 
		elems.Push (memo.cWallPanels[idx].head); 
	} else { 
		GS::Guid guid = APIGuid2GSGuid (memo.cWallPanels[idx].head.guid); 
		WriteReport ("Degenerate Panel: %s", (const char*) guid.ToUniString ().ToCStr ()); 
	} 
} 
 
&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Dec 2010 14:22:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Curtain-Wall-Geometry/m-p/139285#M6131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-08T14:22:00Z</dc:date>
    </item>
  </channel>
</rss>

