RemoveLayer (Layout Editor)
Use: Removes a layer or stackup layer.
Command: Remove Layer from a layout or footprint definition
Syntax: RemoveLayer (<LayerName>)
Return Value: None.
Parameters: <LayerName>
Type: <String>
Note As with other Layout scripting interface commands that modifiy the layout, this command is not intended for use within scripts that define footprints. The command behavior from within such a script is undefined and may be unexpected. Use the LayoutHost scripting interface commands within scripts that define footprints. Users can, however, execute the RemoveLayer command from both general and IC modes, although the command functions differently in each environment. Refer to RemoveLayer (IC Editor).