OOF2: The Manual

Name

OOF.LayerEditor.LayerSet.Edit — Edit the layer.

Synopsis

OOF.LayerEditor.LayerSet.Edit(window,layer_number)

Details

  • Parent Menu: OOF.LayerEditor.LayerSet
  • Callback: function loadLayerCB in module ooflib.common.IO.layereditor
  • Parameters:

    window
    Which window. Type: A character string.
    layer_number
    Layer number. Type: Integer.

Description

Load a Layer and its LayerSet into the Layer Editor. When invoked from the Edit... menu item in the Graphics window's Layer menu, the currently selected Layer will be loaded. When invoked by double clicking in the Layer List, the clicked Layer will be loaded.

In the GUI, the Layer Editor will be opened and raised if necessary, the selected Layer will be highlighted in the Layer Editor's Display Methods pane, and the Graphics window from which the command originated will be chosen in the Destination menu.

[Note] Note

The Edit command only loads a copy of a LayerSet into the Layer Editor. Despite its name, it doesn't actually modify any Layers. To modify a LayerSet, it's necessary to use the other commands in the OOF.LayerEditor.LayerSet menu or the Layer Editor GUI and to Send the LayerSet back to the Graphics window.