Home > IPCB_PrimitiveComponentPad > getConnectedPrimitives
IPCB_PrimitiveComponentPad.getConnectedPrimitives() 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
getConnectedPrimitives(onlyCentreConnection: true): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
onlyCentreConnection | true | 是否仅中心连接,如若为 |
Returns
Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveArc | IPCB_PrimitiveVia>>
Remarks
本接口可以获取到与焊盘直接接触的图元