eda_pcb_primitive_component_get_all_primitive_id
Retrieve all primitive IDs of PCB components, optionally filtered by layer or lock state, to access component geometry for editing or inspection.
Instructions
pcb_PrimitiveComponent.getAllPrimitiveId(layer?: TPCB_LayersOfComponent, primitiveLock?: boolean) -> Promise<Array> 获取所有器件的图元 ID returns: 器件的图元 ID 数组
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |