Home > PCB_PrimitivePad > get
PCB_PrimitivePad.get() 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.
Get Pad
Signature
typescript
function get(primitiveIds: string): Promise<IPCB_PrimitivePad | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | string | Pad primitive ID, which can be a string or an array of strings. If it is an array, an array is also returned |
Returns
Promise<IPCB_PrimitivePad | undefined>
Pad primitive object, undefined indicates that the retrieval failed