OOF2: The Manual
Name
OOF.LayerEditor.LayerSet.Copy_Method — Copy an existing display method.
Synopsis
OOF.LayerEditor.LayerSet.Copy_Method(layer_number)
Details
- Parent Menu: OOF.LayerEditor.LayerSet
-
Callback: function
copyMethodCBin moduleooflib.common.IO.layereditor -
Parameters:
layer_number- Number of the layer to copy. Type: Integer.
Description
Copy a Layer within the LayerSet currently being edited in the
Layer Editor. The Layer and its DisplayMethod are duplicated, and the
new Layer is selected in the Layer Editor.
When using the GUI it's often convenient to copy a Layer and
then modify it. This generates a Copy_Method
command followed by a Replace_Method
command. In scripts this is sort of silly -- a single Add_Method
command would suffice. However, OOF2 log files have to follow
the sequence of events from the GUI, so they will contain a
Copy_Method/Replace_Method pair.



