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