2021-06-16 03:39 AM - last edited on 2021-09-14 09:34 AM by Noemi Balogh
2021-06-18 04:25 AM
API_ElementQuantity quantity; API_QuantitiesMask mask; API_Quantities quantities; API_QuantityPar par; char buffer[256]; quantities.elements = &quantity; //MORPH面積 BNZeroMemory(&quantity, sizeof(API_ElementQuantity)); ACAPI_ELEMENT_QUANTITY_MASK_SETFULL(mask); GSErrCode err = ACAPI_Element_GetQuantities(elem.header.guid, nullptr, &quantities, &mask); if (err == NoError) { //Wall Area ? (Square Meter) double d = quantity.morph.surface; }