We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2015-10-23 12:44 PM - last edited on 2023-07-13 03:00 PM by Doreena Deng
2016-01-20 09:38 AM
stefan wrote:Hi Stefan,
When you collect the quantities of composite layers from Walls, using ACAPI_Element_GetSurfaceQuantities you can get the Projected Area/Exposed Surface from the API.
However, I noticed that if you have a project where the option "Use Legacy intersection and Surface methods for model elements" is enabled for your project, the exposed surface stays ZERO.
Is this a bug? Or a limitation? I did not read it in the documentation.
2016-06-30 09:23 AM
td_GuidArr elemList; td_GuidArr coverList; //... other element types to be considered as "cover" ACAPI_Element_GetElemList(API_ColumnID, &elemList); coverList.Push(elemList); elemList.Clear(); ACAPI_Element_GetElemList(API_WallID, &elemList); // no need to clear since we'll get wall "exposed" surface area GS::Array<API_ElemPartSurfaceQuantity> qs; ACAPI_Element_GetSurfaceQuantities(&elemList, &coverList, &qs); // print each element's exposed areaWhat I get is simply the whole surface area, and the covered areas are not deducted.
2016-10-19 08:10 AM
2017-07-21 01:52 PM