Get element quantities
get_element_quantitiesProvide element GUIDs to calculate and retrieve detailed quantities—volumes, areas, lengths—as Archicad lists them, including composite skins and building material totals.
Instructions
Calculated quantities of elements, as Archicad lists them: every field of the element type's quantity record with descriptive names. Units: lengths m, areas m², volumes m³, angles degrees, counts integers. Examples — Wall: volume, grossVolume, surfaceReferenceSide, surfaceOppositeSide, length, area (plan), minHeight/maxHeight, windowsSurface, doorsSurface; Slab: volume, topSurface, bottomSurface, edgeSurface, perimeter, holesSurface; Zone: area, netArea, calculatedArea, volume, perimeter, wallsSurface; Column/Beam: core/veneer volumes & surfaces; Window/Door: surface, width/height per side, sill/head heights; Roof/Shell/Mesh/Morph/Object/CurtainWall/Stair/Railing and their parts are supported too. 'Conditional' values follow the project's calculation rules. Also returns composite skins per building material and per-type totals (sums of additive fields) + building material volume totals. Get GUIDs from find_elements first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Elements to measure (max 500 per call) | |
| includeParts | No | Also return per-part quantities (e.g. each roof plane of a multi-plane roof, each story of a morph). Default false | |
| coverElements | No | Elements that cover the measured ones for the exposed-surface calculation | |
| includeTotals | No | Add 'totals' per element type (count + sums of lengths, areas, volumes, counts) and 'buildingMaterialTotals'. Default true | |
| minOpeningSize | No | m²: openings smaller than this do not reduce wall surfaces/volumes (default 0 = every opening reduces them) | |
| includeComposites | No | List skin volumes / projected areas per building material (walls, slabs, roofs, shells...). Default true | |
| includeExposedSurfaces | No | Also compute exposed (uncovered) surface areas per surface material. Default false |