ELIB                                                              Menu: MWUTL
=============================================================================
Edits the library of multi-layer wall end conditions.

     1.   (CHAR) a-add end condition to lib.,e-edit e.c.lib.,p-plot e.c. lib.
     2.   (CHAR) specify wall:c-current,n-by name,i-indicate,<ENTER>-from lib.
if `i' is selected:
     3.   (IND) multi layer wall
     4.   (Y/N) confirm choice ?
if `n' is selected:
     3.   (CHAR) wall name
for all options in prompt 2 if `a' is selected (in prompt 1):
     4.   (CHAR) add from: f-file, c-current drawing, s-selection group
if `f' is selected (in prompt 4):
     6.*  (CHAR) file name
     7.*  (CHAR) end-cond.description (1-40 char.,no spaces),<ENTER>-no descr.
     8.*  (Y/N) add another end-condition ?
if `c' or `s' is selected (in prompt 4):
     6.   (CHAR) file name to save (1-8 char.)
if `e' is selected (in prompt 1):
     5.   (IND) select/deselect end-condition in square OR pick option

if ALL is selected:
     6.*  (Y/N) option: s-select,d-deselect,r-reverse selection for all
                        elements
if SAVE is selected:
     6.   (Y/N) confirm saving? <y>
if QUIT is selected:
     6.   (Y/N) confirm quitting ? <n>
if ADD is selected:
     6.*  (CHAR) file name
if file name exists:
     7.   (Y/N) "name" already in library, overwrite ?
     8.*  (CHAR) end-cond.description(1-40 char.,no spaces),<ENTER>-no descr.
     9.*  (Y/N) add another end-condition ?
if DEFAULT is selected:
     6.   (IND) default end-condition
     7.   (Y/N) confirm choice ?
if DELET is selected:
     6.*  (IND) end-condition to delete
     7.*  (Y/N) confirm choice ?
     8.*  (Y/N) extract to file before deleting ?
     9.*  (Y/N) delete another end-condition ?

if files are to be extracted for each file that already exists (when saving):
     10.  (Y/N) "file name" exists, overwrite? (n-new name, <ENTER>-cancel)
     11.  (CHAR) file name (1-8 char., <ENTER>-cancel extract)
if `p' is selected (in prompt 4):
     5.   (Y/N) display the library before creating plot file <n>
     6.   (Y/N) confirm plotting the file <y>
     7.   (CHAR) file name for plotter (1-8 char.)

Description

Any wall in which an opening is to be inserted must be closed at the
point at which the opening "breaks" the wall. In the case
of multi-layer walls, the termination of each layer of the wall is
different. An external layer may turn at right angles to the wall
in order to "close" an internal layer of insulation. To close
the wall it is necessary to define end conditions which may be combined
with openings. The end condition may also be used to close the free
end of a wall without reference to an opening. The system provides
some basic end conditions but you may create your own end conditions
and edit the existing library. By associating end conditions to an
opening using the \clib command, you can create a combination
to be stored in a library.

In addition to the basic library and user-defined end conditions,
there is a system end condition which closes the open wall end using
a straight line at right angles to the wall and with the same line
attributes as the first layer of the wall.

Option `a'  add end condition to library

This option enables you to quickly define a new end condition. You
may also define a new end condition from within the graphic library.
You cannot edit the library or see the whole library displayed on
screen using this option.

The end conditions are related to the wall type. You are prompted
to specify a wall type using one of four options: c  select the
currently active wall, n  specify the wall by name, i  indicate
a sample of the wall currently on screen, or press <ENTER> to
select the wall from the pull-down graphic library. If you choose
to indicate the wall, indicate and confirm the selection. If you choose
to specify the wall by name, enter the wall name.


The end condition to be added to the library must be created as an
ordinary drawing file (.III and .DDD). It must be drawn as if the
wall in which it is to be located is to the left of the end condition
horizontally (parallel to the X axis) across the screen. Only the
end condition for the left side of an opening must be created. The
system asks you to specify the end condition. This may also be done
in one of several ways: `f'  specify an existing drawing file
by name, `c'  using the whole current drawing on screen, or `s'
using the selected area of the current drawing. If you choose
to specify the file by name, state the name of the file.

For all the above options you may add a description of up to 40 characters.
This will appear together with the end condition when the graphic
library is displayed. Spaces (created by pressing the space bar) are
illegal in the description text. Use the underscore (_) to designate
a space. If you do not wish to give a description, press <ENTER>.

You are prompted to add further end conditions. If you use the current
drawing or selection group option you will be asked to provide a name
under which the end condition will be saved.


Option `e'  edit end condition library

The current screen is replaced by a matrix of squares, each containing
an existing end condition. Each square also contains the name and
description of the end condition. If the description is long the characters
will appear very small but you may use the \zoom command
to read them. The number at the bottom of each square is the scale
of the graphic representation of each end condition (for comparative
purposes). The squares are red, green, blue or white.

Red squares indicate end conditions to be excluded from the working library.

Green squares indicate end conditions to be included in the working library.

NOTE: Only end conditions included in the working library are used to close
free wall ends (\cmwal). All end conditions that appear when using the \clib
command may be used when creating opening/end condition combinations.

A blue square indicates the default end condition.

A white square represents the system end condition (a straight line).

You may find that the library contains end conditions that you do
not require in your current project. You may deactivate these by pointing
to them with the cursor and pressing B1 of the mouse. The square will
change from green to red. Alternatively, you may discover an end condition
that you do require but is currently deactivated. You may activate
these by pointing to them and pressing B1. The square will change
from red to green.

In addition to the end condition squares, there are six options:

         ALL
         SAVE
         QUIT
         ADD
         DEFAULT
         DELETE

The ALL option allows you act in one of three ways: `s' select all the
squares, `d'  deselect all the squares, `r'reverse the current selection
status. Use SAVE or QUIT to update your library or restore your original
library respectively.

The SAVE option saves the current status of the library and restores
the file you were working on before you activated this command. You are asked
to confirm before execution.

The QUIT option ignores the current changes, restoring your original
library, and opens the file you were working on before you activated
this command. You are asked to confirm before execution.

The ADD option allows you to define an end condition. This is
done in the same way as option `a' (see above) but from within the
library and you may only specify the end condition by file name. If
the specified name already exists in the library you will be warned
and asked whether you wish to overwrite it. When you complete the
addition, select the SAVE option. The new end condition will be
included in the library.

The DEFAULT option allows you to set an end condition as the default
for closing free wall ends (\cmwal). Select the option,
move the cursor onto the desired end condition and press B1 of the
mouse. Confirm the selection. The color of the square surrounding
the end condition will become blue, indicating that it is the current
default.

The system always sets a default end condition. If you have not selected one
previously, the system end condition (normally in a white square) will be set
as the default.

The DELETE option allows you to delete an end condition from the library.
Select the end condition that you wish to delete and confirm the selection.
You are asked whether you wish to extract the file.
If you reply positively the system will copy the end condition to a file in
your current directory under the original end condition name.

The squares enclosing the end conditions to be deleted will change
to yellow. If the end condition is to be extracted before its deletion
the square will change to line type 6 (broken line). The end condition
will actually be deleted only when you use the SAVE option and
will not appear the next time the end condition library is displayed.

You are prompted to delete more end conditions. A square that has
been marked for deletion may be "unmarked" by pressing B1
when the cursor is over the appropriate square.


If you select to delete the current default end condition, the system
end condition will automatically become the default.

If you are extracting a file and the name you have specified already
exists, you will be informed when you exit this command via the SAVE
option, and are given the opportunity to assign another name.

Option `p'  plot the end condition library

This option enables you to create a plot file from your end condition
library to produce a hard copy. You are asked to confirm the creation
of the plot file from your end condition library. If you confirm,
you are asked to enter a file name for the plot file, up to 8 characters.

NOTE: The screen display during this command is an ordinary drawing file
created by the system. It is named $E$LIB (.III and .DDD). You may execute
nested commands such as \zoom, \zout and \shift, etc.
It is a temporary file and will be erased when you leave the system.
You should always leave this command via the SAVE or QUIT option.
If, by mistake, you use a non-nested command and you cannot exit via the SAVE
or QUIT options, use the \rslib command.
