<?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 How to determine the angle at the end of the wall? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-determine-the-angle-at-the-end-of-the-wall/m-p/238978#M3783</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;API_WallType has a "poly" property.&lt;BR /&gt;But it contains the original polygon of the original wall without taking into account the docking.&lt;/DIV&gt;</description>
    <pubDate>Tue, 04 Oct 2022 14:29:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-04T14:29:13Z</dc:date>
    <item>
      <title>How to determine the angle at the end of the wall?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-determine-the-angle-at-the-end-of-the-wall/m-p/238978#M3783</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;API_WallType has a "poly" property.&lt;BR /&gt;But it contains the original polygon of the original wall without taking into account the docking.&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:29:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-determine-the-angle-at-the-end-of-the-wall/m-p/238978#M3783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-04T14:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine the angle at the end of the wall?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-determine-the-angle-at-the-end-of-the-wall/m-p/238979#M3784</link>
      <description>O'h I'm sorry.&lt;BR /&gt;
In API guide described API_WallRelation, that contains needed polygon.&lt;BR /&gt;
For my aim this code works.&lt;BR /&gt;
&lt;BR /&gt;
	API_Polygon* poly;&lt;BR /&gt;
	API_WallRelation        relData;&lt;BR /&gt;
&lt;BR /&gt;
	poly = &amp;amp;relData.connPoly;&lt;BR /&gt;
	&lt;BR /&gt;
	for (j = 1; j &amp;lt;= poly-&amp;gt;nSubPolys; j++) {&lt;BR /&gt;
		begInd = (*relData.pends)[j - 1] + 1;&lt;BR /&gt;
		endInd = (*relData.pends)&lt;J&gt;;&lt;BR /&gt;
		for (i = begInd; i &amp;lt; endInd; i++) {&lt;BR /&gt;
			begC = (*relData.coords)&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;;&lt;BR /&gt;
			endC = (*relData.coords)[i + 1];&lt;BR /&gt;
		}&lt;BR /&gt;
	}&lt;/J&gt;</description>
      <pubDate>Wed, 10 Jul 2019 12:48:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-determine-the-angle-at-the-end-of-the-wall/m-p/238979#M3784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-10T12:48:28Z</dc:date>
    </item>
  </channel>
</rss>

