Home > PCB_PrimitiveArc > getAllPrimitiveId
PCB_PrimitiveArc.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 Arc line primitive IDs
Signature
typescript
function getAllPrimitiveId(
net?: string,
layer?: TPCB_LayersOfLine,
primitiveLock?: boolean,
): Promise<Array<string>>;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<string>>
Array of Arc line primitive IDs