Home > PCB_PrimitiveVia > getAll
PCB_PrimitiveVia.getAll() 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 all Via
Signature
typescript
function getAll(net?: string, primitiveLock?: boolean): Promise<Array<IPCB_PrimitiveVia>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
net | string | (Optional) Net name |
primitiveLock | boolean | (Optional) Whether it is locked |
Returns
Promise<Array<IPCB_PrimitiveVia>>
Array of Via primitive objects