How To Get Wall Area (square meter=m2) from [Morph]
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-16
03:39 AM
- last edited on
2021-09-14
09:34 AM
by
Noemi Balogh
2021-06-16
03:39 AM
Please teach me that
How To Get Wall Area (square meter=m2) from [Morph].
Parameter or Property or Calcurate Method ?
Element or Element_Memo ?
How To Get Wall Area (square meter=m2) from [Morph].
Parameter or Property or Calcurate Method ?
Element or Element_Memo ?
Labels:
- Labels:
-
Add-On (C++)
1 REPLY 1
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-18 04:25 AM
2021-06-18
04:25 AM
The contributor person himself.
Is it a correct answer with this?
Is it a correct answer with this?
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; }