Set Text Background
text_set_backgroundSet a background mask on MTEXT so text remains readable over hatches or geometry. Choose ACI color and scale factor; disable to remove the box.
Instructions
Mask what is behind an MTEXT so it stays readable over hatch or geometry.
MTEXT only: TEXT has no background-fill attribute, so setting one on it would report success and change nothing.
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": "text_set_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ACI background colour (1-255). 0 uses the drawing background. | |
| scale | No | Box size as a multiple of the text box; must be >= 1. | |
| handle | Yes | Handle of an MTEXT entity. | |
| enabled | No | False removes the background box. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||