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

Hull and Outfitting

DEFINE PALETTE

  • Last UpdatedFeb 01, 2023
  • 1 minute read

Purpose

This command allows the user to change the colour and linestyle of curves when they are displayed.

Syntax

DEFINE ( PALETTE ) ( /DEFAULT )
  ------------
  ( /SHOW )
  ----------------------------------------
  ( BOUNDARY  ) < /COLOUR  > $N
  ( BUTTOCK  ) < /LINETYPE >
  ( CAMBER  )
  ( CLINE  )
  ( CURVE  )
  ( DECK  )
  ( DIAGONAL  )
  ( FOB  )
  ( FOS  )
  ( KNOT  )
  ( KNUCKLE  )
  ( KURVATURE  )
  ( PATCH  )
  ( PLATE  )
  ( PLINE  )
  ( POINTS  )
  ( SAC  )
  ( SECTION  )
  ( SHEER  )
  ( STEM /PROFILE  )
  (  " /RADII  )
  (  " /TANGENT  )
  (  " /ECCENTRICITY  )
  (  " /HALFSIDING  )
  ( STERN /PROFILE  )
  (  " /RADII  )
  (  " /TANGENT  )
  (  " /ECCENTRICITY )
  (  " /HALFSIDING  )
  ( TANGENT  )
  ( VERTEX  )
  ( WATERLINE  )

Description

The Colour Index and Linestyle will be changed for the selected entity. The actual colour and linestyle displayed cannot be guaranteed on different graphics displays but every effort is made to ensure consistency.

It should also be noted that changing the colour for a curve type is not reflected in the plotting process. To change colours while plotting the DEFINE PLOT PEN command must be used.

Command Qualifiers

/COLOUR $N

Assign colour index to data entity.

/DEFAULT

Resets back to system defaults.

/LINETYPE $N

Assign linestyle index to data entity.

/SHOW

Lists the current settings.

Examples

DEFINE PALETTE FOS COLOUR 3
DEFINE PALETTE CLINE LINETYPE 2
DEFINE PAL/SHOW

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