autocad_set_current_layer
Set a specified layer as current in AutoCAD, auto-creating it if missing. Updates the live drawing UI.
Instructions
Make a layer current (auto-created if missing). Mainly affects a live AutoCAD UI.
Args: params (SetCurrentLayerInput): - name (str): layer to make current.
Returns: str: JSON {"status": "updated", "current_layer"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |