cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

[BUG] mapId of all the children of a navigator item

ReignBough
Booster
item_data.mapId = API_LayoutMap;
// more codes
API_NavigatorItem** items;
err = ACAPI_Environment(APIEnv_GetNavigatorChildrenItemsID, &item_data, &items);
if (mErr != NoError) return;

int cnt = BMhGetSize((GSHandle)items) / sizeof(API_NavigatorItem);
for (int i = 0; i < cnt; i++)
    WriteReport("Children Map: %d", (*items).mapId);
This code will output the mapId of all the children of the given navigator item (item_data in this case) which is (API_UndefinedMap).

And since they are under item_data, they all should be API_LayoutMap.
~ReignBough~
ARCHICAD 24 INT 4018 FULL (from AC18)
Windows 10 Pro, Intel Core i7-4790 CPU @ 3.60GHz, 32.0GB RAM, 64-bit OS
0 REPLIES 0

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!