Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Elements from Schedules / Schemes

$
0
0
Author:ReignBough
Posted: Thu Jun 02, 2016 11:14 am (GMT+1)


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:

Code:
GetSchemeList(schemeList)
for (i = 0; i < schemeList.size(); i++)
{
    GetSchemeElements(schemeList[i], elemList);
    for (j = 0; j < elemList.size(); j++)
    {
        API_Element elem;
        BNZeroMemory(&elem, ...);
        elem.header.guid = elemList[i];
        ACAPI_Element_Get(&elem, ...)
        // process elements here
    }
}

_________________
~ReignBough~
[ArchiCAD 19 INT 4013 FULL]
[Windows 7 Pro Intel Core i5 CPU 750 @ 2.67 GHz 8.00 GB 64-bit OS]


Viewing all articles
Browse latest Browse all 564

Trending Articles