<?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 Inteface functions, get z coords. in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Inteface-functions-get-z-coords/m-p/276175#M5598</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Function from " Interface functions"
&lt;PRE&gt;endInd = polyInfo.nCoords; 
			for (ind = 1; ind &amp;lt; endInd; ind++) { 
				begCoord.x = (*polyInfo.coords) [ind].x; 
				begCoord.y = (*polyInfo.coords) [ind].y; 
				begCoord.z = (polyInfo.zCoords != NULL) ? (*polyInfo.zCoords) [ind] : 0.0; 
 
				endCoord.x = (*polyInfo.coords) [ind + 1].x; 
				endCoord.y = (*polyInfo.coords) [ind + 1].y; 
				endCoord.z = (polyInfo.zCoords != NULL) ? (*polyInfo.zCoords) [ind + 1] : 0.0; 
&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;I need to get z coords, but &lt;BR /&gt;begCoord.z = (polyInfo.zCoords != NULL) ? (*polyInfo.zCoords) [ind] : 0.0; &lt;BR /&gt;sets zCoords to 0. And if i use begCoord.z = (*polyInfo.zCoords) [ind] it freezes and returns no values at all. &lt;BR /&gt;&lt;BR /&gt;Can anyone help in this ? I need to draw "box" in x,y,z and get all coords, at least furthest from beginning.&lt;/DIV&gt;</description>
    <pubDate>Thu, 13 Jul 2023 13:53:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-13T13:53:43Z</dc:date>
    <item>
      <title>Inteface functions, get z coords.</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Inteface-functions-get-z-coords/m-p/276175#M5598</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Function from " Interface functions"
&lt;PRE&gt;endInd = polyInfo.nCoords; 
			for (ind = 1; ind &amp;lt; endInd; ind++) { 
				begCoord.x = (*polyInfo.coords) [ind].x; 
				begCoord.y = (*polyInfo.coords) [ind].y; 
				begCoord.z = (polyInfo.zCoords != NULL) ? (*polyInfo.zCoords) [ind] : 0.0; 
 
				endCoord.x = (*polyInfo.coords) [ind + 1].x; 
				endCoord.y = (*polyInfo.coords) [ind + 1].y; 
				endCoord.z = (polyInfo.zCoords != NULL) ? (*polyInfo.zCoords) [ind + 1] : 0.0; 
&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;I need to get z coords, but &lt;BR /&gt;begCoord.z = (polyInfo.zCoords != NULL) ? (*polyInfo.zCoords) [ind] : 0.0; &lt;BR /&gt;sets zCoords to 0. And if i use begCoord.z = (*polyInfo.zCoords) [ind] it freezes and returns no values at all. &lt;BR /&gt;&lt;BR /&gt;Can anyone help in this ? I need to draw "box" in x,y,z and get all coords, at least furthest from beginning.&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:53:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Inteface-functions-get-z-coords/m-p/276175#M5598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-13T13:53:43Z</dc:date>
    </item>
  </channel>
</rss>

