OOF2: The Manual
Name
OOF.Graphics_n.Layer.Select — Select the given graphics layer.
Synopsis
OOF.Graphics_n.Layer.Select(n)
Details
- Parent Menu: OOF.Graphics_n.Layer
-
Callback: function
GhostGfxWindow.selectLayerCBin moduleooflib.common.IO.ghostgfxwindow -
Options:
cli_only=1 -
Parameters:
n- Layer index. Type: Integer.
Description
Select a graphics Layer. 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.[19]
Many GUI commands operate on the currently selected Layer or its
LayerSet. In scripts or in text mode, it's not usually
necessary to select a Layer before operating on it, because most
commands specify which layer they apply to. There are exceptions,
though. The most important exception is the Layer Editor's Send
command, which replaces the selected LayerSet in a Graphics
window.



