Home > PCB_PrimitiveArc > getAll
PCB_PrimitiveArc.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 Arc line
Signature
typescript
function getAll(
net?: string,
layer?: TPCB_LayersOfLine,
primitiveLock?: boolean,
): Promise<Array<IPCB_PrimitiveArc>>;1
2
3
4
5
2
3
4
5
Parameters
Parameter | Type | Description |
|---|---|---|
net | string | (Optional) Net name |
layer | (Optional) Layer | |
primitiveLock | boolean | (Optional) Whether it is locked |
Returns
Promise<Array<IPCB_PrimitiveArc>>
Array of Arc line primitive objects