acad_add_hatch
Fill a closed polyline with a hatch pattern by passing its handle. Choose SOLID or an AutoCAD pattern name like ANSI31, and set scale, angle, layer, and color.
Instructions
Hatch a closed polyline (give its handle). pattern: SOLID or an AutoCAD pattern name such as ANSI31. Associative hatch is not supported yet.
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": {
"boundary_handle": "<boundary_handle>"
},
"name": "acad_add_hatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| scale | No | ||
| pattern | No | SOLID | |
| angle_deg | No | ||
| color_index | No | ||
| boundary_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||