acad_change_text
Find and replace single-line and multi-line text already in the drawing, keeping position, layer, height and colour unchanged. Searches all layouts unless one is named; returns count changed per layout.
Instructions
Find and replace text that is already in the drawing (single-line and multi-line text).
The text is changed in place: its position, layer, height and colour stay the same. Searches every layout, Model included, unless layout names one. Leave replace empty to delete the match. Returns how many text items changed, per layout. Example: find="OF X", replace="OF 5".
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": {
"find": "<find>"
},
"name": "acad_change_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| layout | No | ||
| replace | No | ||
| match_case | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||