Home > PCB_Layer > unlockLayer
PCB_Layer.unlockLayer() 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
unlockLayer(layer?: TPCB_LayersInTheSelectable | Array<TPCB_LayersInTheSelectable>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
layer | TPCB_LayersInTheSelectable | Array<TPCB_LayersInTheSelectable> | (Optional) 层,如若不指定任何层则默认为所有层 |
Returns
Promise<boolean>
操作是否成功