eda_pcb_primitive_component_get_all
Retrieves all PCB primitive components (devices) from the active EasyEDA Pro PCB editor, optionally filtered by layer and lock status, returning an array of component objects.
Instructions
pcb_PrimitiveComponent.getAll(layer?: TPCB_LayersOfComponent, primitiveLock?: boolean) -> Promise<Array> 获取所有器件 returns: 器件图元对象数组
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |