Set Line Types from Channel

Use the Database Tools > Line Tools > Set Line Types from Channel menu option (LINETYPECHAN GX) to set the line types of database lines based on values in a particular channel.

Set Line Types from Channel dialog options

Line type channel

Channel containing codes for setting the line type.

Script Parameter: LINETYPECHAN.CHAN

L: Normal lines

Code for Normal line type.

Script Parameter: LINETYPECHAN.NORMAL

B: Base lines

Code for the Base line type.

Script Parameter: LINETYPECHAN.BASE

T: Tie lines

Code for the Tie line type.

Script Parameter: LINETYPECHAN.TIE.

S: Test lines

Code for the Test line type.

Script Parameter: LINETYPECHAN.TEST

R: Trend lines

Code for the Trend line type.

Script Parameter: LINETYPECHAN.TREND

P: Special lines

Code for the Special line type.

Script Parameter: LINETYPECHAN.SPECIAL

D: Random lines

Code for the Random line type.

Script Parameter: LINETYPECHAN.RANDOM

Application Notes

Only those line types with code values will be set using this GX, so if you just want to set "Tie" lines, for instance, only the code for "T: Tie Lines" needs to be defined.

The line type code channel can be either string type or numeric; you could use "Tie" for a code, or a number (e.g. 2).

Only the first non-dummy (non-blank) value in the line type channel for any given line is used. If no value is defined in the line type channel for a given line, or if no matches with the defined line types are found, then no change occurs for that line. Subsequent values in the channel for any given line are ignored.