set_entity_properties
Change an entity's layer, color, linetype, or lineweight to control drawing appearance and organization.
Instructions
Change an entity's layer, color, linetype or lineweight.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"handle": "<handle>"
},
"name": "set_entity_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ACI 0-256 or name (red, yellow, green, cyan, blue, magenta, white, bylayer) | |
| layer | No | Target layer (created if missing). Default: current layer. | |
| handle | Yes | ||
| linetype | No | Linetype name, e.g. CONTINUOUS, DASHED, CENTER, HIDDEN | |
| lineweight | No | 1/100 mm; -1 ByLayer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||