Get sub-elements
get_subelementsRetrieve parts of hierarchical Archicad elements—curtain walls, stairs, railings, beams, columns—by GUID to inspect types, details, quantities, or geometry; pass a part GUID to get its owner.
Instructions
Parts of hierarchical elements, grouped by type: CurtainWall → CurtainWallSegment/Frame/Panel/Junction/Accessory (frames and panels with className, begin/end or centroid, hidden/degenerate flags); Stair → Riser/Tread/StairStructure (sequenceNumber, landing flag); Railing → RailingSegment/Node/Post/InnerPost/Toprail/Handrail/Rail/Panel/BalusterSet/Baluster/Pattern and rail ends/connections; Beam → BeamSegment; Column → ColumnSegment. Passing a sub-element GUID returns its owner. The part GUIDs work with get_element_details, get_element_quantities and get_element_3d_geometry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Only these sub-element types | |
| elements | Yes | Element GUIDs | |
| maxPerType | No | List at most this many parts per type (counts are always complete). Default 500 | |
| includeDetails | No | Include the type-specific fields of each part. Default true |