Tabhatch

The tabhatch file is used to specify how CADMATIC Hull hatch patterns are converted to AutoCAD hatch patterns.

Each line in this file has the following format:

name a b c d e f

  • name is the hatch pattern name. For example, LINE for hatches with a striped pattern, SOLID for completely filled hatches. Refer to the image below for possible hatch patterns that can be used.

  • a is the Hull colour number for the completely filled hatch (the value for hatches with a striped pattern is -1).

  • b is the Hull hatch number (hatch index).

  • c is the scale of the hatch pattern (for pre-defined hatch).

  • d is the spacing of the hatch pattern (for user-defined hatch).

  • e is the angle of the pattern in degrees.

  • f indicates if the export should use BLOCK_DEFINITION (0 indicates no, 1 indicates yes).
    For information on AutoCAD Block Definition, please refer to AutoCAD documentation.

For example:

LINE -1 1 0.9448 0 45 0

A specific tabhatch file, tabhatchblockr.dat, defines the hatch presentation for the PDF files that are generated along with DXF/DWG export.