Configuring vector pen lines

Editions

Some vector files, such as HPGL 2 and Calcomp 906/907 documents, contain up to 256 pen lines. Often, pen values are stored within these files. With Imagenation, you can choose whether to use these embedded values or not.

To define which embedded pen settings to use:

1. Choose Preference image\arrow_shg.gif Options.

2. Click the image\plus_shg.gif beside Format.

3. Click Calcomp/HPGL.

4. Under Use Embedded Pen Settings, select the check boxes of the embedded options that you want to use. Clear the check boxes of those that you want to define. The possible options are Colors, Widths, Dashing, and Hatching.

5. Click Save. Click OK.

If you are not using the embedded colors and widths, you can define these values for pen lines 1 to 8 in Imagenation. For details, click Configuring vector pen lines 1 to 8. To define the rest, you have to edit the Image.ini file. If you are not using embedded dashing, you can also specify a dashing pattern for any pen line by editing the Image.ini file.

To define vector pen lines:

1. Open the Image.ini file in a text editor.

2. In the [HPGL] section, use the following syntax to define vector pen lines:

Pen X=value units color [dash-size1 space-size1 dash-size2 space-size2]

where X = integer from 0 through 255

 value = width of the pen line

 units = pts | twips | in | ft | cm | mm

 color = RGB value corresponding to the color you want to use. Windows Tip

 dash-size1 = the length of the first dash in a dashed line pattern

 space-size1 = the length of the space after the first dash in a dashed line pattern

 dash-size2 = the length of the second dash in a dashed line pattern

 space-size2 = the length of the space after the second dash in a dashed line pattern

Defining dash patterns is optional. The space-size values must be positive.

3. Save the Image.ini file, and close it.

When you restart Imagenation, the vector pen line values you defined will take effect.

See also

Displaying hatch patterns

Using HPGL pen values in AutoCAD files

Loading HPGL files