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

Hull and Outfitting

COLOUR

  • Last UpdatedOct 05, 2023
  • 1 minute read

Purpose

Control the colour of individual elements.

Syntax

COLOUR ( $L !

         ( (PATCH ! DECK ! TBHD ! LBHD ! COMPARTMENT !

            POINT ! CLINE ! CURVE ! SECTION ! BUTTOCK !

            WATERLINE ! DIAGONAL ! CONTAINER ! BAY !

            HATCH ! ENVELOPE) ($L ! /ALL ! /LAYER $N) ) !

         /LAYER $N ) $N $N $N

Description

Used to set the colour of a selection of elements within the design.

The selection of objects for modification, can be qualified by type and/or by a specific layer.

In it’s simplest form, the colour of an individual item, with the identifier name, can be set to bright red, simply using:

COLOUR "name" 255 0 0.

Command Qualifiers

$L

A list of object names.

/LAYER $N

Selects all objects (or all items of a particular type) on the specified ($N) layer.

/ALL

Selects all objects of the specified type (PATCH or DECK ).

$N $N $N

The RGB (Red, Green, Blue) values of the colour to be set. The valid range of values is 0 to 255.

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