Home > IPCB_PrimitiveArc > getAdjacentPrimitives
IPCB_PrimitiveArc.getAdjacentPrimitives() 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 Adjacent primitive objects
Signature
typescript
function getAdjacentPrimitives(): Promise<
Array<IPCB_PrimitiveLine | IPCB_PrimitiveVia | IPCB_PrimitiveArc>
>;1
2
3
2
3
Returns
Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveVia | IPCB_PrimitiveArc>>
Adjacent line, via, and arc-line primitive objects
Remarks
It will get the line, via, and arc-line primitive objects directly connected to the arc line