OOF2: The Manual

Name

OOF.LayerEditor.LayerSet.Delete_Method — Remove a display method.

Synopsis

OOF.LayerEditor.LayerSet.Delete_Method(layer_number)

Details

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

    layer_number
    Number of the layer to delete. Type: Integer.

Description

Delete a Layer from the LayerSet that's being edited by the Layer Editor. This doesn't actually delete it right away. The Layer is replaced by a placeholder (shown as <deleted> in the GUI), and is deleted from the Graphics window when the LayerSet is sent from the Layer Editor. Doing it this way ensures that deleting Layers from LayerSets with multiple Layers actually deletes the correct Layers in the Graphics window.