Create railings
create_railingsCreates railings along a line or path, including curved stair boundaries, with height, offset, and story controls in one undo step.
Instructions
Creates railings in one undo step along a reference line: 'begin'/'end' or a 'path' polyline (points may carry z to follow a slope; add arcs for curves) with the Railing tool's default posts/rails/panels. Set 'height', 'bottomOffset' and the reference line side. Coordinates in meters, angles in degrees, on the given story (default: current story); unspecified settings come from the tool defaults. Tip: to guard a stair, use its leftBoundary/rightBoundary from get_element_details as the path. Returns [{guid, type} | {error}]; get_element_details lists the segments and the GUIDs of posts, rails, handrails, panels and balusters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| railings | Yes | Railings to create | |
| undoName | No | Name of the undo step shown in Archicad |