Get bounding boxes
get_bounding_boxesRetrieve 3D and 2D bounding boxes of elements to frame views, position new elements, or detect overlaps.
Instructions
Returns axis-aligned bounding boxes of elements in project coordinates (meters): 3D boxes {xMin, yMin, zMin, xMax, yMax, zMax} (z absolute, from project zero) and/or 2D floor-plan boxes {xMin, yMin, xMax, yMax}. Also returns overall, the union of all boxes — handy to frame a view, place new elements next to existing ones, or check overlaps. Output: {elements: [{guid, box3D?, box2D?} | {guid, error}], overall3D?, overall2D?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which boxes: '3D' (default), '2D' (floor plan) or 'both' | |
| elements | Yes | Element GUIDs |