SWITCH
- Last UpdatedJan 05, 2024
- 2 minute read
Purpose
To switch selected stored data on or off.
Syntax
|
SWITCH ( BOUNDARY ) ( /OFF ) < /CONFIRM > |
Description
The SWITCH command is a means of omitting data from calculations or outputs. For example, extra building Frames may be required for plotting purposes but not required for the generation of a Sectional Area Curve.
When an element is switched off it remains in the design but is not used by the LINES SYSTEM.
Note that a curve that is switched off is:
-
Not used when interpolating data points for a new curve, for example, if the user has switched off a Waterline, then when a new section is to be interpolated from Waterlines, using the GET or FIT commands, the Waterline in question is not interpolated.
-
Not normally displayed unless specifically requested with the DISPLAY /OFF or /BOTH qualifiers.
-
not used when issuing the AREA /ALL command.
Also a switched off Patch or Plate is:
-
Not output when the OUTPUT command is issued.
-
Not displayed when the DISPLAY command is issued.
Command Qualifiers
|
/CONFIRM |
Prompt with the name of the data being SWITCHed and wait for a reply. The user is required to respond with Yes, No or Quit. This is particularly useful when switching a number of data items. |
|
/OFF |
Switch data off |
|
/ON |
Switch data on. |
Examples
|
SWITCH SECTION 1.0 /OFF |