OOF2: The Manual

Name

OOF.LayerEditor.LayerSet.Replace_Method — Replace an existing display method.

Synopsis

OOF.LayerEditor.LayerSet.Replace_Method(layer_number,method)

Details

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

    layer_number
    Number of the layer to replace. Type: Integer.
    method
    Display method to use. Type: An object of the DisplayMethod class.

Description

Replace an existing Layer in the LayerSet that's being edited by the Layer Editor. This command is generated by the GUI after closing the dialog box that is created by the Edit... button in the Display Methods pane in the Layer Editor. Editing a Layer really means replacing it completely with a new Layer.