create_layer
Create or update an AutoCAD layer with color, linetype, and lineweight, and optionally set it as current.
Instructions
Create a layer (or update it if it exists) and optionally make it current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ACI 0-256 or name (red, yellow, green, cyan, blue, magenta, white, bylayer) | |
| linetype | No | Linetype name, e.g. CONTINUOUS, DASHED, CENTER, HIDDEN | |
| lineweight | No | Lineweight in 1/100 mm (e.g. 25 = 0.25 mm); -3 default | |
| make_current | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||