eda_pcb_primitive_line_get_all
Retrieve all PCB line primitives from the active EDA window, with optional filters for net, layer, and lock state to isolate specific lines.
Instructions
pcb_PrimitiveLine.getAll(net?: string, layer?: TPCB_LayersOfLine, primitiveLock?: boolean) -> Promise<Array> 获取所有直线 returns: 直线图元对象数组
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |