Creo Intelligent Fastener > Using Creo Intelligent Fastener > Appendix > File Types > Fastener Data Files
  
Fastener Data Files
All information for the fasteners assembled with Creo Intelligent Fastener is read from fastener data files. Fastener data files have the file extension .dat. Each DAT file is divided into two sections.
The first section of the DAT file provides basic information about the fastener, such as the type of fastener and the unit for the fastener.
The second section contains the definition of the fastener instances. There are two methods of providing the definition:
Add a line for each single fastener instance
Use the family table mapping to get the fastener instance information directly from the generic part.
For each fastener type there are some dimensions required for the 2D preview in the Screw Fastener Definition and Dowel Pin Fastener Definition dialog boxes. These values must be available even if your fastener instances exist.
Section 1 of the DAT File
The first section of the DAT file is described in the tables below. You must press TAB to separate the values in the DAT file.
Fastener Information
Keyword
Value
One of the following types of fasteners:
SCREWTYPE
WASHERTYPE
NUTTYPE
INSERTTYPE
PINTYPE
Type and index of fastener.
UNIT
One of the following units for the fastener:
MM
INCH
INFO or LABEL
Optional value. The label for the fastener that you want to appear in the Screw Fastener Definition dialog box. If no value is provided then Creo Intelligent Fastener uses the library translation file to get the label for the Screw Fastener Definition dialog box.
HELPTEXT
Optional value. The help text you want to appear for the label in the Screw Fastener Definition dialog box. If no value is provided, then Creo Intelligent Fastener uses the library translation file to get the help text for the Screw Fastener Definition dialog box.
SUBINFO
Optional value. Enter the value of a column. If there is more than one instance of the selected size, the values from the column appear in a shortcut menu from which you can select the instance.
To see placement references in the graphics window, set the Creo Parametric configuration option show_selected_item_id to yes. Then, when you place the pointer on the placement reference, the ID appears. If your fastener data file refers to fastener parts with different placement references, then add the pair of placement references after the first IDS. Be sure to separate the values by pressing the TAB key.
Placement References
Keyword
Value
SURFACE
The item ID of the reference plane. Flip the orientation by adding a minus sign (–) before the ID.
AXIS
The item ID of the reference axis.
ORIENT
Optional value. The item ID of the orientation plane.
Counterbore preselection is valid for the fastener types listed below:
SCREWTYPE
WASHERTYPE
NUTTYPE
Counterbore Preselection
Keyword
Value
CBSCR
Optional value. The name of the column from the ifx_screw_data.cfg file. This counterbore diameter is preselected for Side 1 – Counterbore in the Screw Fastener Definition dialog box, if the fastener is selected.
CBNUT
Optional value. The name of the column from the ifx_screw_data.cfg file. This counterbore diameter is preselected for Side 2 – Counterbore in the Screw Fastener Definition dialog box, if the fastener is selected.
Family table keywords are only for the family table mapping.
Family Table Information
Keyword
Value
FAMPRT
The name of the generic family table part without the extension.
MUST
NOT
Optional value. Use these keywords to filter the family table instances by parameter or dimension values, by indicating a value must conform or not conform. Be sure to use a valid Creo Parametric parameter or dimension name with the syntax MUST <NAME><VALUE> or NOT <NAME><VALUE>.
Section 2 of the DAT File
The second section of the DAT file is described in the tables below. You must press TAB to separate the values in the DAT file.
In this section of the DAT file the fastener sizes are defined. You must add one line for each fastener size.
Single Fastener Instances
Keyword
Value
SYMBOL
INSTANCE
Column with a valid Creo Parametric file name. The following instance names are valid:
Existing fastener part
Existing family table instance part
Nonexistent fastener part. The part will be created on the fly while assembling the fastener.
STRING
Only for screw fasteners. The value appears in the Screw Fastener Definition dialog box in the Screw list.
<COLUMN>
The name of the dimension or parameter. You can define columns to add to the DAT files. If no dimension or parameter with the name of the column is found in the fastener template, then a string parameter with the given value is created.
In this section you can also look up the fastener instance information directly from the generic family table part.
Family Table Mapping
Keyword
Value
SYMBOL
INSTANCE
Enter #FAMTAB to use the family table mapping.
<STRING>
Only for screw fasteners.
If UNIT=MM enter M<DN>.
If UNIT=INCH enter the Creo Parametric dimension name.
The value appears in the Screw Fastener Definition dialog box in the Screw list.
<COLUMN>
The name of the Creo Parametric dimension or parameter. Do not use the renamed value. Depending on the type of fastener, different columns are required for the 2D preview in the Screw Fastener Definition and Dowel Pin Fastener Definition dialog boxes.
The following is an example of a DAT file for single fastener instances. You need one line for each instance.
! Fastener Information
SCREWTYPE 20
UNIT MM
INFO ISO 4014
SUBINFO BUW_SIZE

! Placement References
SURFACE 124 -12
AXIS 341 24

! Counterbore Preselection
CBSCR DIN974-2 R1

! Fastener Instances
SYMBOL STRING DN LG B S K DG P BUW_NAME BUW_TYPE BUW_SIZE
INSTANCE STRING DN LG B S K DG P name type size
...
ISO4014-M10x65-5_6 M10 10 65 26 16 6.4 8.5 1.5 hexheadscrew ISO 4014 M10 x 65 - 5.6
ISO4014-M10x65-8_8 M10 10 65 26 16 6.4 8.5 1.5 hexheadscrew ISO 4014 M10 x 65 - 8.8
ISO4014-M10x70-5_6 M10 10 70 26 16 6.4 8.5 1.5 hexheadscrew ISO 4014 M10 x 70 - 5.6
ISO4014-M10x70-8_8 M10 10 70 26 16 6.4 8.5 1.5 hexheadscrew ISO 4014 M10 x 70 - 8.8
...
M12x60-5_6<ISO4014> M12 12 60 30 18 7.5 10.2 1.75 hexheadscrew ISO 4014 M12 x 60 - 5.6
M12x60-8_8<ISO4014> M12 12 60 30 18 7.5 10.2 1.75 hexheadscrew ISO 4014 M12 x 60 - 8.8
...
The following is an example of a DAT file for family table mapping. You only need one line, #FAMTAB, for the dimension and parameter mapping.
! Fastener Information
SCREWTYPE 1
UNIT MM
INFO DIN 912 Famtab
SUBINFO MATERIAL

! Placement References
SURFACE 28
AXIS 71

! Counterbore Preselection
CBSCR DIN974-1 R1

! Family Table Information
FAMPRT din912

MUST NORM DIN912
NOT DIA 22.0
NOT DIA 27.0

! Fastener Instances
SYMBOL STRING DN LG B S DK K DG P
INSTANCE STRING DN LG B S DK K DG P
#FAMTAB M<DN> d5 d3 d4 d8 d12 d7 d6 pitch