Create polylines
create_polylinesDraws 2D polylines with straight and curved segments, open or closed. Ideal for outlines, symbols, and room boundaries in Archicad.
Instructions
Draws 2D polylines: connected straight and curved segments (points + optional arcs {index, angle}), open or closed. Ideal for outlines, symbols and room-separator chains (zoneBoundary: true). Style fields as create_lines plus continuousPattern. Elements go into the database of the ACTIVE window: on a floor plan the given storyIndex (default: current story), otherwise the open section / elevation / detail / worksheet / layout (a 3D window cannot hold 2D elements). Returns [{guid, type} | {error}] in input order; one failing item does not stop the others. Change them later with modify_elements using the same field names; read them back with get_element_details. Modifying 'arcs' or 'closed' requires sending 'points' too (the geometry is replaced).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polylines | Yes | Polylines to draw |