Home > IPCB_PrimitiveLine > getAdjacentPrimitives
IPCB_PrimitiveLine.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.
获取相邻的图元对象
Signature
typescript
getAdjacentPrimitives(): Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveVia | IPCB_PrimitiveArc>>;
1
Returns
Promise<Array<IPCB_PrimitiveLine | IPCB_PrimitiveVia | IPCB_PrimitiveArc>>
相邻的直线、过孔、圆弧线图元对象
Remarks
将会获取与直线两端直接相连的直线、过孔、圆弧线图元对象