Home > PCB_PrimitivePour > create
PCB_PrimitivePour.create() 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
create(net: string, layer: TPCB_LayersOfCopper, complexPolygon: IPCB_Polygon, pourFillMethod?: EPCB_PrimitivePourFillMethod, preserveSilos?: boolean, pourName?: string, pourPriority?: number, lineWidth?: number, primitiveLock?: boolean): Promise<IPCB_PrimitivePour | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
net | string | 网络名称 |
layer | 层 | |
complexPolygon | 复杂多边形对象 | |
pourFillMethod | (Optional) 覆铜填充方法 | |
preserveSilos | boolean | (Optional) 是否保留孤岛 |
pourName | string | (Optional) 覆铜名称 |
pourPriority | number | (Optional) 覆铜优先级 |
lineWidth | number | (Optional) 线宽 |
primitiveLock | boolean | (Optional) 是否锁定 |
Returns
Promise<IPCB_PrimitivePour | undefined>
覆铜边框图元对象