Home > PCB_PrimitivePolyline > get
PCB_PrimitivePolyline.get() 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 polyline
Signature
typescript
function get(primitiveIds: string): Promise<IPCB_PrimitivePolyline | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | string | Primitive ID of the polyline, which can be a string or an array of strings. If it is an array, an array is also returned |
Returns
Promise<IPCB_PrimitivePolyline | undefined>
Polyline primitive object, undefined indicates that the retrieval failed