bricscad_modify_entities
Modify BricsCAD entities by handle: move, rotate, scale, recolor, change layer or linetype, and replace text in one all-or-none operation that rejects locked layers.
Instructions
Change entities by handle. Changes all of them or none, and refuses locked layers.
move: a displacement, [dx, dy] or [dx, dy, dz]. rotate: {"angle": degrees, "base": point}. scale: {"factor": number above 0, "base": point}. layer: an existing layer. color: 0 by block, 1 to 255, or 256 by layer. linetype: loaded from iso.lin if the drawing does not have it yet. text: new text for TEXT, MTEXT or MULTILEADER. Change attributes with bricscad_set_attributes. MTEXT and MULTILEADER text takes format codes, where \P is a line break. Write a literal backslash or brace as \, { or }.
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": {
"handles": "<handles>"
},
"name": "bricscad_modify_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | No | ||
| text | No | ||
| color | No | ||
| layer | No | ||
| scale | No | ||
| rotate | No | ||
| handles | Yes | ||
| timeout | No | ||
| linetype | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||