BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

get all drawing elements regardless of window

Anonymous
Not applicable
When I use ACAPI_Element_GetElemList(API_DrawingId, ...)
I get the drawing elements for the current window.

How can I get all the drawing elements for all the windows without changing the current window (or restoring the current window)?

Thanks.
2 REPLIES 2
Anonymous
Not applicable
So, is it sufficient to iterate through all the layout databases or do I also need to check the Detail, Worksheet and MasterLayout databases?
Ralph Wessel
Mentor
GDefina wrote:
So, is it sufficient to iterate through all the layout databases or do I also need to check the Detail, Worksheet and MasterLayout databases?
I'm not aware of any command that would retrieve all elements from all databases simultaneously. You will probably have to iterate through all databases.
Ralph Wessel BArch
Learn and get certified!