Data file used in attribute import
If you want to use user-defined attributes of other value types besides string in the attribute importimport of user-defined attribute values to a model from a text file
input fileInput files are used for different purposes, for example, for defining the content and structure of a dialog box and for defining certain reinforcement-related settings.
Input files have the extension .inp, for example rebar_config.inp.
, you need to define them in the import_macro_data_types.dat file, located in the ..\Tekla Structures\<version>\environments\common\system folder.
The import_macro_data_types.dat file is a simple text file listing the user-defined attributes that you can include in an input file.
You can modify the file using any standard text editor, for example, Microsoft Notepad.
Change any of the user-defined attributes that are not key fields.
Add user-defined attributes as INT , STRING , FLOAT , or DATE value types.
The file contains the following columns:
VARIABLE_NAME , VARIABLE_TYPE , CONVERSION_FACTOR , COMMENT
Tekla Structures uses CONVERSION_FACTOR to convert imperial values to metric values. Tekla Structures only uses this value in Imperial environments. We recommend that you check the FLOAT values to avoid conversion factor errors.
Tekla Structures treats lines starting with double forward slash characters // as comments and ignores them when reading the file.