Home > PCB_PrimitiveDimension > getAllPrimitiveId
PCB_PrimitiveDimension.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 the primitive IDs of all dimensions
Signature
typescript
function getAllPrimitiveId(
layer?: TPCB_LayersOfDimension,
primitiveLock?: boolean,
): Promise<Array<string>>;1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
|---|---|---|
layer | (Optional) Layer | |
primitiveLock | boolean | (Optional) Whether it is locked |
Returns
Promise<Array<string>>
Array of dimension primitive IDs