eda_pcb_select_control_get_all_selected_primitives
Retrieve all currently selected PCB primitives as objects. Use to inspect or process selected elements in EasyEDA Pro.
Instructions
pcb_SelectControl.getAllSelectedPrimitives() -> Promise<Array<IPCB_Primitive>> 查询所有已选中图元的图元对象 returns: 所有已选中图元的图元对象
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": "eda_pcb_select_control_get_all_selected_primitives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |