Edit Hatch
hatch_editModify an existing hatch in AutoCAD by updating specific attributes—angle, color, scale, pattern, island style—while leaving omitted properties unchanged. Get a report of which attributes actually changed to avoid data loss.
Instructions
Edit an existing hatch in place.
Omitted parameters are left alone — a partial edit that resets the rest is
data loss. changed reports which attributes actually moved, so re-setting
a value to what it already was comes back as an empty list rather than a
false positive.
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": "hatch_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | New pattern angle in degrees. | |
| color | No | New ACI colour. | |
| scale | No | New pattern scale (> 0). | |
| style | No | Island style: normal, outer or ignore. Empty leaves it alone. | |
| handle | Yes | Handle of an existing HATCH. | |
| pattern | No | New pattern name. Empty leaves it alone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||