Did you know that logged in users can see a lot more content?

Data file used in attribute import

Last updated September 10, 2018 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 

Data file used in attribute import

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.

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:



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.

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
Average page rating: 1 (1 vote)
Refresh page after voting to show updated result.


by Giorgio De Lorenzi

I think should be added a note here and in the "import_macro_data_types.dat" file that describes how to import value of UDA "option" type, so that INT value type must be set in the "import_macro_data_types.dat" file, and how to recognise the correct number to be used in the input file for each value of the UDA.