You are here: Other topics > Sched > Define Blocks Defaults
GEOVIA Surpac

Define Blocks Defaults

There are various features about DEFINE BLOCKS which are defined in the system files. The files are:

  • SSI_ETC:defaults.ssi
  • SSI_STYLES:styles.ssi.

The items in SSI_ETC:defaults.ssi which control the behaviour of DEFINE BLOCKS are listed below. They take the form of

item=value

auto draw

The auto draw mode controls whether the data in a file are automatically drawn on the screen as soon as the file is recalled. Acceptable values are on or off. For example,

auto draw=on

auto draw strings

If the recalled file is a string or an `.obs' file then this item controls the style which is used to draw the strings on the screen. For example,

auto draw strings=lines

Acceptable values and a description of the drawing style are:

  • lines = draw the strings as lines with no labels
  • strings = draw the strings as lines with string numbers as labels
  • segments = draw the strings as lines with string and segment numbers in the form of SSS.III as labels

draw styles file

This item defines which drawing styles file is to be used as the default drawing styles file when GRAPHICS is started. For example,

draw styles file=SSI_STYLES:styles.ssi

Drawing styles control features such as

  • line colour
  • line thickness
  • line pattern
  • face colour
  • face pattern
  • edge colour
  • edge thickness
  • edge pattern
  • text colour

The drawing styles are defined for both strings and triobjects (DTMs) and are applied to a range of strings or triobjects, i.e. from string number to string number. Drawing styles are discussed later in this section.

grid label size

This item controls the size of the text that is used for the labelling of XY coordinate grids. For example,

grid label size=0.02 sru

The item value 0.02 sru indicates that the text height will be two percent of the height of the window in screen relative units (sru). The height percentage may be altered, however the sru portion is mandatory. This value shown above gives acceptable results.

grid colour

This item defines the colour which will be used to draw the coordinate grid. The value may be almost any colour name or even a combination such as greenish blue. For example,

grid colour=red