Trim elements to roof/shell
trim_elementsTrims walls, columns, beams, slabs, roofs, shells, and openings to a roof or shell, such as cutting gable walls to a roof slope. Specify trimWith or let roofs/shells in the list trim others.
Instructions
Trims construction elements (walls, columns, beams, slabs, roofs, shells, curtain walls, windows/doors/skylights) to a Roof or Shell (Design > Connect > Trim Elements to Roof/Shell), e.g. cut gable walls to the roof slope. With trimWith (a roof/shell GUID) every element in elements is trimmed by it using trimType; without it the roofs/shells contained in elements trim the other elements (default: keep the part below/inside). Returns {results: [{guid, trimmedBy: [{guid, trimType}]} | {guid, error}]}; undo with remove_trim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Elements to trim (and, without trimWith, the trimming roofs/shells) | |
| trimType | No | Needs trimWith. KeepInside (default) = keep the part inside/below the roof or shell (typical: walls under a roof); KeepOutside = keep the part outside/above; KeepAll = keep all parts | |
| trimWith | No | The Roof or Shell that trims the elements |