What I would do is use the coordinates of the zone and plug it in on with ACAPI_Selection_SetMarquee. Then call ACAPI_Selection_Get to get all elements then filter them by type.
~ReignBough~ ARCHICAD 26 INT (from AC18) Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
easry wrote: Is there any way to retrieve all objects inside the zone? thanks.
Hi,
There's a function called ACAPI_Element_GetRelations(), pass the zone's GUID in the first parameter, API_ObjectID in the second, and a pointer to an API_RoomRelation structure in the third -- this struct will be filled in with the containment information.