<?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 Why doesn't inIndex change? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-doesn-t-inIndex-change/m-p/334988#M1464</link>
    <description>&lt;LI-CODE lang="cpp"&gt;    GSErrCode err = ACAPI_Element_GetHotspots(guid, &amp;amp;hotspots);

short ind;
for (ind = 0; ind &amp;lt; (short)hotspots.GetSize(); ind++) {
    API_Neig neig;
    API_Coord3D coord;
    hotspots[ind].Get(neig, coord);
    ACAPI_WriteReport("ind = %ld neigID = %ld, inIndex = %ld ", 
                      false, ind, neig.neigID, neig.inIndex);

}

ind = 0, neigID = 5, inIndex = 0  
ind = 1, neigID = 5, inIndex = 0  
ind = 2, neigID = 5, inIndex = 0  
ind = 3, neigID = 5, inIndex = 0  
ind = 4, neigID = 5, inIndex = 0  
ind = 5, neigID = 5, inIndex = 0 &lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 08 Apr 2022 03:19:46 GMT</pubDate>
    <dc:creator>LeeJaeYoung</dc:creator>
    <dc:date>2022-04-08T03:19:46Z</dc:date>
    <item>
      <title>Why doesn't inIndex change?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Why-doesn-t-inIndex-change/m-p/334988#M1464</link>
      <description>&lt;LI-CODE lang="cpp"&gt;    GSErrCode err = ACAPI_Element_GetHotspots(guid, &amp;amp;hotspots);

short ind;
for (ind = 0; ind &amp;lt; (short)hotspots.GetSize(); ind++) {
    API_Neig neig;
    API_Coord3D coord;
    hotspots[ind].Get(neig, coord);
    ACAPI_WriteReport("ind = %ld neigID = %ld, inIndex = %ld ", 
                      false, ind, neig.neigID, neig.inIndex);

}

ind = 0, neigID = 5, inIndex = 0  
ind = 1, neigID = 5, inIndex = 0  
ind = 2, neigID = 5, inIndex = 0  
ind = 3, neigID = 5, inIndex = 0  
ind = 4, neigID = 5, inIndex = 0  
ind = 5, neigID = 5, inIndex = 0 &lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Apr 2022 03:19:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Why-doesn-t-inIndex-change/m-p/334988#M1464</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2022-04-08T03:19:46Z</dc:date>
    </item>
  </channel>
</rss>

