acad_create_block
Create a named block from existing drawing objects using their handles, setting a base point and optionally inserting a reference or erasing originals.
Instructions
Define a block named name from existing objects (give their handles). base_point is the block's insertion point; the objects keep their positions in the drawing.
insert=true also places one reference at base_point (it defaults to true when erase_originals is set). erase_originals=true removes the source objects: it needs confirm=true; ask the user first.
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": {
"name": "<name>",
"handles": "<handles>",
"base_point": "<base_point>"
},
"name": "acad_create_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| insert | No | ||
| confirm | No | ||
| handles | Yes | ||
| base_point | Yes | ||
| erase_originals | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||