Home > PCB_Layer > addCustomLayer
PCB_Layer.addCustomLayer() 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
addCustomLayer(): Promise<TPCB_LayersOfCustom | undefined>;
1
Returns
Promise<TPCB_LayersOfCustom | undefined>
新增的自定义层的图层 ID,如若为 undefined
则为新增失败,可能是自定义层数量已达到上限