OOF2: The Manual
Name
OOF.Graphics_n.Layer.Delete — Delete the selected graphics layer.
Synopsis
OOF.Graphics_n.Layer.Delete(n)
Details
- Parent Menu: OOF.Graphics_n.Layer
-
Callback: function
GhostGfxWindow.deleteLayerNumberin moduleooflib.common.IO.ghostgfxwindow -
Options:
disabled=1 -
Parameters:
n- Layer index. Type: Integer.
Description
Delete a graphics Layer from its LayerSet and from the Graphics window. If the Layer
is the last Layer in its LayerSet, the LayerSet will be
deleted as well.
In GUI mode, this command operates on the currently selected
Layer. In text mode and in scripts, the Layer is specified by
its position n in the window's layer list. The
unlisted layers must be counted when computing
n. This command isn't very friendly in
scripts, because it can be hard to determine
n.[18]



