Golden Software PlotCall .PLT Import Automation Options

Since the Import Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various import options. A typical example would be:

"Defaults=1,Pen3=0;0;255;1;0.05"

This would first set all import options to their default values, then set the parameters for lines which are drawn with Pen #3. The lines will be Blue, dashed and 0.05 inches wide.

Option

Action

Default

Defaults=1

Set all options to their default values

No

ForgetOptions=1

Don't remember options for later use

No

PenN=R;G;B;S;W;N

Lines drawn with Pen #N are:

Red intensity "R" (0-255)

Green intensity "G" (0-255)

Blue intensity "B" (0-255)

Style "S" (See below)

Width "W" inches

Contain "N" custom segments

See below

0

PlotCall files can specify up to 16 pens (1-16). The default width is 0.0 (thinest line possible but still visible). The default line attributes associated with each pen are shown in the following table:

Pen #

R;G;B Values

Color

Style

1

0;0;0

Black

0 (Internal Solid)

2

0;0;255

Blue

0 (Internal Solid)

3

0;255;0

Green

0 (Internal Solid)

4

0;255;255

Cyan

0 (Internal Solid)

5

255;0;0

Red

0 (Internal Solid)

6

255;0;255

Magenta

0 (Internal Solid)

7

255;255;0

Yellow

0 (Internal Solid)

8

255;255;255

White

0 (Internal Solid)

9

0;0;0

Black

1 (Internal Dashed)

10

0;0;255

Blue

1 (Internal Dashed)

11

0;255;0

Green

1 (Internal Dashed)

12

0;255;255

Cyan

1 (Internal Dashed)

13

255;0;0

Red

1 (Internal Dashed)

14

255;0;255

Magenta

1 (Internal Dashed)

15

255;255;0

Yellow

1 (Internal Dashed)

16

255;255;255

White

1 (Internal Dashed)

The different line styles are:

Style

Line

-1

Custom (See below)

0

Internal Solid

1

Internal Dashed

2

Internal Dotted

3

Internal Dash-Dot

4

Internal Dash-Dot-Dot

Internal Style

The five internal styles indicate a generic style and leave it to the display device to decide how best to render the line.

Custom Style

A custom style allows (and requires) you to specify the length of the strokes and gaps used when rendering the line.

See Also

Golden Software PlotCall File Description

Import Options String