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.
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 | |||