Home > IPCB_PrimitivePad > setState_Hole
IPCB_PrimitivePad.setState_Hole() 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
setState_Hole(hole: TPCB_PrimitivePadHole): IPCB_PrimitivePad;
1
Parameters
Parameter | Type | Description |
---|---|---|
hole | 焊盘钻孔 |
Returns
焊盘图元对象
Remarks
设置孔时将会联动设置部分其它属性状态:
- 层将会强制切换到多层
本接口无法将孔设置为 null
,如果想要移除孔属性,请使用 setState_Layer 方法切换层为顶层或底层