pcb_remove_layer
Removes a copper layer from the PCB layer stack and confirms the change; if the layer is absent, it leaves the stack unchanged.
Instructions
Remove a copper layer from the PCB layer stack.
Calls IPCB_LayerStack.RemoveFromStack on the requested layer. Does nothing if the layer is not currently in the stack.
Args: layer: Layer name, e.g. "MidLayer1", "InternalPlane2"
Returns: Dictionary confirming the layer was removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||