OOF2: The Manual
Name
OOF.LayerEditor.LayerSet.Send — Send the LayerSet to a graphics window.
Synopsis
OOF.LayerEditor.LayerSet.Send(window
)
Details
- Parent Menu: OOF.LayerEditor.LayerSet
-
Callback: function
sendLayerCB
in moduleooflib.common.IO.layereditor
-
Parameters:
window
- Window to which the layer will be sent. Type: A character string.
Description
Send the LayerSet
from the Layer Editor to a Graphics window. If there is a
layer selected in
the Graphics window, the new LayerSet
replaces the LayerSet
of
the selected Layer
. Each Layer
in the new LayerSet
replaces
the corresponding Layer
in the Graphics window. If no
LayerSet
is selected in the Graphics window, the new LayerSet
is simply added to the window.
When using the GUI, the AutoSend
command in the Layer Editor's Settings menu
controls whether or not newly edited layers are sent automatically
when editing is complete. By default, AutoSend
is turned on. When it's on, explicit Send
commands are needed only when the displayed object is changed,
or when Layers
are deleted.
In scripts and in text mode, explicit Send
commands are always required, and AutoSend is
ignored.
There is almost no cost in cpu time for resending a LayerSet
to
a Graphics window. Layers
are not recomputed unless they have
changed. To force Layers
to be redrawn, use the Redraw
command in the Graphics window's File
menu.