Home > PCB_Layer > setTheNumberOfCopperLayers
PCB_Layer.setTheNumberOfCopperLayers() 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
setTheNumberOfCopperLayers(numberOfLayers: 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
numberOfLayers | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 26 | 28 | 30 | 32 | 层数 |
Returns
Promise<boolean>
操作是否成功
Remarks
新建的 PCB 文档默认拥有两层铜箔层