We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

How can I get apineig_colu[1,2,3,4].?

LeeJaeYoung
Virtuoso
err = ACAPI_Element_GetElemList(API_ColumnID, &lineGuids, APIFilt_OnActFloor);


for (const API_Guid& guid : lineGuids) {

    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("neigID = %ld, Index = %ld ", false, neig.neigID,neig.inIndex);

}





ind = 0, neigID = 5, Index = 0
ind = 1, neigID = 5, Index = 0
ind = 2, neigID = 5, Index = 0
ind = 3, neigID = 5, Index = 0
ind = 4, neigID = 5, Index = 0
ind = 5, neigID = 5, Index = 0
ind = 6, neigID = 5, Index = 0
ind = 7, neigID = 5, Index = 0
ind = 8, neigID = 5, Index = 0
ind = 9, neigID = 5, Index = 0
ind = 10, neigID = 5, Index = 0
ind = 11, neigID = 5, Index = 0
ind = 12, neigID = 5, Index = 0
ind = 13, neigID = 5, Index = 0
ind = 14, neigID = 5, Index = 0
ind = 15, neigID = 5, Index = 0
ind = 16, neigID = 5, Index = 0
ind = 17, neigID = 5, Index = 0
ind = 18, neigID = 5, Index = 0
ind = 19, neigID = 5, Index = 0
ind = 20, neigID = 5, Index = 0
ind = 21, neigID = 5, Index = 0
ind = 22, neigID = 5, Index = 0
ind = 23, neigID = 5, Index = 0
ind = 24, neigID = 5, Index = 0
ind = 25, neigID = 5, Index = 0
ind = 26, neigID = 5, Index = 0
ind = 27, neigID = 5, Index = 0
ind = 0, neigID = 5, Index = 0
ind = 1, neigID = 5, Index = 0
ind = 2, neigID = 5, Index = 0
ind = 3, neigID = 5, Index = 0
ind = 4, neigID = 5, Index = 0
ind = 5, neigID = 5, Index = 0
ind = 6, neigID = 5, Index = 0
ind = 7, neigID = 5, Index = 0
ind = 8, neigID = 5, Index = 0
ind = 9, neigID = 5, Index = 0
ind = 10, neigID = 5, Index = 0
ind = 11, neigID = 5, Index = 0
ind = 12, neigID = 5, Index = 0
ind = 13, neigID = 5, Index = 0
ind = 14, neigID = 5, Index = 0
ind = 15, neigID = 5, Index = 0
ind = 16, neigID = 5, Index = 0
ind = 17, neigID = 5, Index = 0
ind = 18, neigID = 5, Index = 0
ind = 19, neigID = 5, Index = 0
ind = 20, neigID = 5, Index = 0
ind = 21, neigID = 5, Index = 0
ind = 22, neigID = 5, Index = 0
ind = 23, neigID = 5, Index = 0
ind = 24, neigID = 5, Index = 0
ind = 25, neigID = 5, Index = 0
ind = 26, neigID = 5, Index = 0
ind = 27, neigID = 5, Index = 0

APINeig_Colu = 5,

LeeJaeYoung_0-1643011343235.png

I have all [0].

How can I get apineig_colu[1,2,3,4].?

ac25 

AC27 on window 11
0 REPLIES 0

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!