eda_pcb_primitive_line_get
Retrieve a PCB primitive line by its ID from the active EDA window. Returns the line object or undefined if the ID is invalid.
Instructions
pcb_PrimitiveLine.get(primitiveIds: string) -> Promise<IPCB_PrimitiveLine | undefined>
获取直线
returns: 直线图元对象,undefined 表示获取失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |