Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

SWITCH

  • Last UpdatedJan 05, 2024
  • 2 minute read

Purpose

To switch selected stored data on or off.

Syntax

SWITCH ( BOUNDARY  ) ( /OFF ) < /CONFIRM >
( FOB  ) ( /ON  )
( FOS  )
( STEM /PROFILE  )
(  " /RADII  )
(  " /TANGENT  )
(  " /ECCENTRICITY  )
(  " /HALFSIDING  )
          (      "     /TRANSITION       )
( STERN /PROFILE  )
(  " /RADII  )
(  " /TANGENT  )
(  " /ECCENTRICITY )
(  " /HALFSIDING  )
       (      "      /TRANSITION      )
       (PMB /AFT            )
       (PMB /FORWARD        )
----------------------------------------
( ANGLE  ) ( /ALL ) ( /OFF ) < /CONFIRM >
( CLINE  ) ( /$L  ) ( /ON  )
( KNUCKLE  )
( TANGENT  )
( PLINE  )
( DIAGONAL )
( PATCH  )
( SAC  )
----------------------------------------------------
( BUTTOCK  ) ( /ALL    ) ( /OFF ) < /CONFIRM >
( DECK $W  ) ( $N THRU $N < INC $N > ) ( /ON  )
( DESIGN  ) ( $S    )
( SECTION  )
( WATERLINE )
-----------------------------------------
( PLATE $W < $W > ) ( /ALL ) ( /OFF ) < /CONFIRM >
    ( /$L  ) ( /ON  )

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
SW BUT 5.0 /ON
SW KN transom /OFF
SW WAT /ALL /ON
SW BOU /OFF
SW SECTION 1 THR 30 INC 2 /ON /CONFIRM
SW TAN aft* /ON

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in