manage_layer
Control AutoCAD layers by listing, creating, switching current layer, toggling visibility, freezing/thawing, locking/unlocking, and setting color or linetype.
Instructions
List, create, switch, or change properties of AutoCAD layers.
Args: action: One of 'list', 'create', 'set_current', 'on', 'off', 'freeze', 'thaw', 'lock', 'unlock'. name: Layer name (required for all actions except 'list'). color: Optional ACI color (1-255) when creating or updating a layer. linetype: Optional linetype name (e.g. 'Continuous', 'DASHED', 'CENTER').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | ||
| action | No | list | |
| linetype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |