cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Retrieve all object inside the zone

Is there any way to retrieve all objects inside the zone? thanks.
2 Replies 2
ReignBough
Enthusiast
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 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Akos Somorjai
Graphisoft
Graphisoft
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.

Cheers, Akos

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!