BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Archicad C++ API
About Archicad add-on development using the C++ API.

Why doesn't inIndex change?

LeeJaeYoung
Virtuoso
    GSErrCode err = ACAPI_Element_GetHotspots(guid, &hotspots);

short ind;
for (ind = 0; ind < (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 
AC27 on window 11
0 REPLIES 0
Learn and get certified!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!