We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-02-13 11:17 AM - last edited on 2024-09-16 02:46 PM by Doreena Deng
I am trying to extract element's quantities with
err = ACAPI_Selection_Get(&selectionInfo, &selNeigs, true);
...
...
...loop selNeighs
element.header.guid = neig.guid;
if (ACAPI_Element_Get(&element) == NoError) {
if (element.header.type.typeID == API_SectElemID) {
el.guid = element.sectElem.parentGuid;
} else {
el.guid = neig.guid;
}
}
2024-02-23 09:59 AM
Anyone?
2024-02-26 06:14 AM
I know nothing about the API, but in Archicad itself, you can only get quantities from 3D elements in the 3D model and 2D elements in the floor plan.
Barry.