eda_pcb_primitive_via_get_all_primitive_id
Retrieve all via primitive IDs from the PCB design, optionally filtering by net and lock state, to enable targeted manipulation or inspection of vias.
Instructions
pcb_PrimitiveVia.getAllPrimitiveId(net?: string, primitiveLock?: boolean) -> Promise<Array> 获取所有过孔图元 ID returns: 过孔的图元 ID 数组
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |