Create Polyline
entity_create_polylineCreate a lightweight 2D polyline from coordinate pairs, with options to close the shape and set color or layer.
Instructions
Create a lightweight 2D polyline through the given points.
Example: points=[[0,0],[100,0],[100,100],[0,100]], closed=true → rectangle
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ACI color code | |
| layer | No | Layer name | |
| closed | No | Whether to close the polyline | |
| points | Yes | List of [x, y] coordinate pairs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||