Home > PCB_PrimitiveComponent > getAllPinsByPrimitiveId
PCB_PrimitiveComponent.getAllPinsByPrimitiveId() 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
getAllPinsByPrimitiveId(primitiveId: string): Promise<Array<IPCB_PrimitiveComponentPad> | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
primitiveId | string | 器件图元 ID |
Returns
Promise<Array<IPCB_PrimitiveComponentPad> | undefined>
器件焊盘图元数组