If you want to use user-defined attributes of other value types besides string in the attribute import input file, 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.
You can:
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
Note: 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.