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.

Elements from Schedules / Schemes

ReignBough
Enthusiast
Is there a way on getting the list of elements from 'Schedules'. The screenshot shows list of 'Full Element ID' (and other values). I want to get a list of these elements. Also, get the list of all available schemes from 'Scheme Settings'. Something like:
GetSchemeList(schemeList)
for (i = 0; i < schemeList.size(); i++)
{
    GetSchemeElements(schemeList, elemList);
    for (j = 0; j < elemList.size(); j++)
    {
        API_Element elem;
        BNZeroMemory(&elem, ...);
        elem.header.guid = elemList;
        ACAPI_Element_Get(&elem, ...)
        // process elements here
    }
}


scheme schedule.png

~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
1 REPLY 1
ReignBough
Enthusiast
I've already found a way to get the list of schedules/schemes through Navigator API.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Learn and get certified!