Get element 3D geometry
get_element_3d_geometryRetrieve 3D model data for Archicad elements: summary counts, bounding boxes and materials, or detailed meshes with vertices and polygons for visualization and analysis.
Instructions
3D model data of elements as generated by Archicad. mode 'summary' (default): bodyCount, vertexCount, edgeCount, polygonCount, world boundingBox {xMin..zMax} (m, z absolute) and the materials used (surface attribute or GDL material name, polygon count). mode 'mesh': additionally bodies: [{source (element/part GUID), bodyIndex, closed, material, vertices: [[x,y,z], ...], polygons: [{v: [0-based vertex indices of the outer contour], holes?, material?, normal?}]}] within a vertex/polygon budget. Curtain walls, stairs, railings, beams and columns include their parts. 2D elements have no 3D model (error item).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default 'summary' | |
| elements | Yes | Element GUIDs | |
| maxPolygons | No | mesh mode: polygon budget per element. Default 5000 | |
| maxVertices | No | mesh mode: vertex budget per element; bodies beyond it are summarized only. Default 5000 | |
| includeNormals | No | mesh mode: add world-space polygon normals. Default false | |
| includeMaterials | No | Report materials with polygon counts. Default true | |
| includeSubelements | No | Include parts of curtain walls/stairs/railings/beams/columns. Default true |