Home > PCB_PrimitivePad > getAll
PCB_PrimitivePad.getAll() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
获取所有焊盘
Signature
typescript
getAll(layer?: TPCB_LayersOfPad, net?: string, primitiveLock?: boolean): Promise<Array<IPCB_PrimitivePad>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
layer | (Optional) 层 | |
net | string | (Optional) 网络名称 |
primitiveLock | boolean | (Optional) 是否锁定 |
Returns
Promise<Array<IPCB_PrimitivePad>>
焊盘图元对象数组