Home > PCB_PrimitiveVia > get
PCB_PrimitiveVia.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 Via
Signature
typescript
public get(primitiveIds: Array<string>): Promise<Array<IPCB_PrimitiveVia>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | Array<string> | Via primitive ID, which can be a string or an array of strings. If it is an array, an array is also returned |
Returns
Promise<Array<IPCB_PrimitiveVia>>
Via primitive object; an empty array indicates that the retrieval failed
Remarks
If multiple primitive IDs are passed in, a primitive ID that is not matched will not affect the return of other primitives; that is, fewer primitive objects than the number of primitive IDs passed in may be returned.