eda_pcb_primitive_pour_get_all_primitive_id
Retrieve all copper pour outline primitive IDs from the PCB editor. Optionally filter by net, copper layer, or lock state for targeted selection.
Instructions
pcb_PrimitivePour.getAllPrimitiveId(net?: string, layer?: TPCB_LayersOfCopper, primitiveLock?: boolean) -> Promise<Array> 获取所有覆铜边框的图元 ID returns: 覆铜边框的图元 ID 数组
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_pour_get_all_primitive_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |