Retrieve all object inside the zone
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-03-29
11:37 AM
- last edited on
‎2023-07-12
08:54 PM
by
Doreena Deng
‎2017-03-29
11:37 AM
Is there any way to retrieve all objects inside the zone? thanks.
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-03-30 08:16 AM
‎2017-03-30
08:16 AM
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
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-04-08 09:27 AM
‎2017-04-08
09:27 AM
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