Get element relations
get_element_relationsRetrieve topological relations for Archicad elements: zone boundaries, wall/beam connections, openings between zones, and roof/shell zones from element GUIDs.
Instructions
Topological relations computed by Archicad. Zone: relatedElementsByType (walls, columns, slabs, doors, windows, curtain walls ... bounding or inside the zone), wallParts/beamParts/curtainWallSegmentParts (boundary pieces: zoneEdgeIndex, tBegin, tEnd), niches (height, polygon). Wall: connectionPolygon (real plan outline after joins) and the walls connected at its begin/end, to its reference line, with their ends, or crossing it. Beam: the same for beams, plus per segment. Window/Door/Skylight/CurtainWallPanel: fromZone/toZone (the zones on both sides). Roof/Shell: zones below. Other types return an error item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Element GUIDs | |
| includePolygons | No | Include wall/beam connection polygons and zone niche polygons ({points, arcs?, holes?}, m). Default true |