Home > PCB_Drc > removePadPairFromPadPairGroup
PCB_Drc.removePadPairFromPadPairGroup() 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
removePadPairFromPadPairGroup(padPairGroupName: string, padPair: [string, string] | Array<[string, string]>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
padPairGroupName | string | 焊盘对组名称 |
padPair | [string, string] | Array<[string, string]> | 焊盘对 |
Returns
Promise<boolean>
操作是否成功
Example
有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘 await eda.pcb_Drc.removePadPairFromPadPairGroup('test',['e0','e1']) // 游离焊盘-游离焊盘 await eda.pcb_Drc.removePadPairFromPadPairGroup('test',['R1:1','R1:2']) // 器件焊盘 - 器件焊盘 await eda.pcb_Drc.removePadPairFromPadPairGroup('test',['R1:2','e1']) // 器件焊盘 - 游离焊盘