HCADACAD.DAT - Conversion File
For DXF export you need the HCADACAD.DAT file. It contains the following data:
- the assignment of HiCAD elements to particular AUTOCAD layers,
- the assignment of the HiCAD line types to the AUTOCAD line types,
- the correspondence between the symbols in HiCAD and the blocks in AUTOCAD, and
- the specification of whether a complete DXF file including HEADER section, TABLES section etc. will be transferred, or only an ENTITIES section.
This file, which can be customised if required, is located in the HiCAD SYS subdirectory.
The HCADACAD.DAT file, a conversion file created line-wise in ASCII format, can be modified with any text editor. Please remember that individual lines should not contain command characters, and no tab stops. Each line begins with a keyword followed by parameter values separated by whitespaces.
ACDXF
2000
ACDWG 0
BEMAS 0 # Create geometric/real dimension (0/1) Geometrische/echte Bemassung erzeugen (0/1)
HATCH 1 # Create hatch: 0=hatch blocks 1=HATCH contours Schraffurerzeugung: 0=Schraffur-Bloecke 1=HATCH-Konturen
SPLINE 1 # Create AutoCad B-Splines, if you set his option to 0, B-Splines will be output as approximated lines
CPAGE 0 # ANSI-Codepage-number (0=Default=1252) ANSI-Codepage-Nummer (0=Default=1252)
DIR # Entry for path Eintrag für Pfad
ZVD 0 # Database (0/1) Datenbank (0/1)
FIGBL 1 # Figur block transfer (-1/0/1) Figur-Block Uebertragung (-1/0/1)
FIGB1 1 # Figur Entities transfer, if 1 block (-1/0/1) Figur-Entities Uebertragung, wenn 1 Block (-1/0/1)
FIGLA 0 # 0 , 1=all FIGs as layer , -1=individual FIGs 0 , 1=alle FIGs als Layer , -1=einzelne FIGs
LPOLY 1 # Create POLYLINES (0/1) POLYLINES erzeugen (0/1)
NKST 8 # Number of decimal places (max.=14) Anzahl der Nachkommastellen (max.=14)
NOKOM 0 # Suppress commentaries (0/1) Kommentare unterdruecken (0/1)
NOVER 0 # Suppress DXF version number (0/1) DXF-Versionsnummer unterdruecken (0/1)
AUNIT -1 # Value for Header variable $AUNITS (-1=omit) Wert fuer Header-Variable $AUNITS (-1=weglassen)
VISRE -1 # Value for Header variable $VISRETAIN (-1=omit) Wert fuer Header-Variable $VISRETAIN (-1=weglassen)
VISRE -1 # Value for Header variable $VISRETAIN (-1=omit) Wert fuer Header-Variable $VISRETAIN (-1=weglassen)
LTDEF 1 CONTINUOUS Solid line
LTYPE 2 PUNKT
LTYPE 3 GESTRICHELT
LTYPE 4 STRICHPUNKT
.....
LTYPE 7 PHANTOM
.....
LTDEF 2 PUNKT ..............
LTDEF 3 GESTRICHELT -- -- -- -- --
LTDEF 4 STRICHPUNKT --.--.--.--.-
.....
LTDEF 7 PHANTOM --..--..--..-
.....
COLOR 0 7
COLOR 1 3
......
LAYER 0100 LAY_0100
LAYER 0110 LAY_0110
.........
SONST 0001 LAY_01
SONST 0049 LAY_49
STYLE 1 STANDARD
STYLE 2 STANDARD
.......
Lines are composed as follows:
- 5-character keyword
- n whitespaces
- Numerical code
- n whitespaces
- Alphanumerical designations

(1) |
Keyword, 5 characters |
(2) |
1 - n whitespaces |
(3) |
Numerical code |
(4) |
1 - n whitespaces |
(5) |
Alphanumeric designation 1, exactly 18-digits, if 2nd designation is indicated |
(6) |
Alphanumerical designation 2, |
keyword ( 1 - 5 characters)
The first 5 characters contain one of the following keywords:
ACDXF |
AutoCad-2000 (AC1015) format is used for DXF export. If desired, you can also create files in AutoCad-12 format. To do this need to change the entry ACDXF 2000 to ACDXF 12 in the first line of the HCADACAD.DAT file. |
ACDWG |
The DWG format corresponds to the DXF format. A change of DXF format output can be made by specifyingthe number nr for the DWG version in the second line of the HCADACAD.DAT file: ACDWG nr |
BEMAS |
This entry specifies how 2-D dimensions are to be transferred - as geometric dimensions (0) or as "real" dimensions (1). The default setting is 0. 3-D dimensions are always transferred as geometric dimensions! |
HATCH |
Transfer of hatchings is possible if the following conditions are met:
HATCH 0 prevents the transfer, the default setting is 1. |
DIR_* |
Directory to which DXF files should be copied |
ZVD |
If the Document Management Database module is available, DXF file creation is managed by the database |
FIGBL |
Parts can be transferred as blocks |
FIGLA |
Determines whether parts will be transferred as layers or not |
BLOCK |
Assigns HiCAD parts and AutoCAD blocks (only relevant if a TABLES section has been created) |
BYLAY |
Defines the Colour and Line Type assigned to a layer (only relevant if the TABLES section has been created) |
COLOR |
Assigns a Colour Number (only relevant if a colour number deviates from that assigned to a layer) |
LAYER |
Assigns the HiCAD attributes: colour, line thickness and layer to AutoCAD layers |
ZEROPT |
If "ZEROPT"has been entered in HCADACAD.DAT, and only the active 2-D part will be imported to DXF (e.g. automatically for Sheet and WINISO), the following applies:
The default setting (in case the entry is missing) is ZEROPT 0. . the pre-setting in HCADACAD.DAT is "ZEROPT 1". |
LTDEF |
Assigns a HiCAD line type to an AutoCAD line type, (only relevant if a TABLES section has been created) |
LTYPE |
Assigns a HiCAD line type to an AutoCAD line type (only relevant if the line type deviates from the type assigned to a layer) |
LPOLY, NPOLY |
Controls the way in which POLYLINES are used |
NOKM |
Defines HiCAD remarks |
SONST |
Defines the layer for miscellaneous graphical elements, e.g. dimensionings |
STYLE |
Defines a text style |
THICK |
Assigns auxiliary numerical properties to lines contained in individual parts |
BEMAS |
Controls the transfer of dimensioning |
NKST |
Decimal places (max. 14) |
AKNIT |
Control flag for ACAD variable $AUNITS |
NOVER |
Suppress DXF Version number |
FNTBR |
Adapt width of fonts |
COLVD |
HiCAD colour for overlaps |
ASCII |
HiCAD in DXF (Special) character conversion |
FNTST |
Evaluation of text styles |
At least one blank always follows a keyword.
Numerical characters:
The following numeric parameter values contain HiCAD codes, e.g. the symbol number or, in some fields, the AutoCAD colour.
Followed by at least one blank.
Alphanumerical characters:
Depending on the keyword, one or two AutoCAD designations or part names from HiCAD. Only the first 16 positions of these designations are interpreted – only 8 positions for part names. If keywords posses more than two alphanumeric designations, e.g. BLOCK, NUMAT, the required 16 positions must be filled with blanks.
Please note:
- Lines beginning with # contain comments.
- You can create user-specific conversion files. These files should be saved with the file extension .DA1, .DA2 or .DA3, not .DAT.
- Designations (e.g. font names) containing spaces must be placed between quotation marks (") e.g.: STYLE T4 ''Times New Roman'' times.ttf 1.0
Create DXF/DWG files • Keywords • DXF/DWG Settings • 2-D Interfaces