eda_pcb_primitive_object_get
Fetches a PCB primitive object by its ID from the active EDA window. Returns the object or undefined if retrieval fails.
Instructions
pcb_PrimitiveObject.get(primitiveIds: string) -> Promise<IPCB_PrimitiveObject | undefined>
获取二进制内嵌对象
returns: 二进制内嵌对象图元对象,undefined 表示获取失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |