select_entities
Select AutoCAD entities by layer, entity type, or area, and return their handles so other tools can edit them.
Instructions
Выбрать объекты по фильтру и вернуть их handle (для правки другими инструментами). Фильтр: layer (шаблон, напр. 'WALL*'), entity_type (тип DXF: LINE, LWPOLYLINE, CIRCLE, ARC, TEXT, MTEXT, DIMENSION, INSERT, HATCH...; через запятую), area [x1,y1,x2,y2] (целиком внутри; crossing=True: касается).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "select_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | ||
| layer | No | ||
| crossing | No | ||
| entity_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |