eda_pcb_primitive_pad_get_all
Retrieve all PCB pad primitives with optional filters for layer, net, lock state, or pad type to inspect and manage pads in the active EasyEDA Pro window.
Instructions
pcb_PrimitivePad.getAll(layer?: TPCB_LayersOfPad, net?: string, primitiveLock?: boolean, padType?: EPCB_PrimitivePadType) -> Promise<Array<IPCB_PrimitivePad>> 获取所有焊盘 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_primitive_pad_get_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |