Attribute (Import)

Importing attributes is a flexible way of setting attributes essentially based on the type and id of the elements. The imported file is expected to contain lines having several fields (e.g., tabulator-delimited).

In the simplest and most common case, each line contains an ID and other fields. The ID is used to identify the element for which the other fields in the line (attributes) should be applied.


Line-format specification and delimiter

When importing such a file, a dialog-box opens. Here, you need to specify which fields are present in each line of the file (and in which order they appear). In such a line-specification, you can simply provide the sequence of field-names (example: ID;COLOR;SELECTED). Note that here, you can separate the fields using ';', even if the delimiter that is actually used in the file is different. The field-names that can be used here are shown below.

You also need to specify the delimiter that is actually being used in the file; for example, tabulator (<TAB>) is a very practical and robust one (in particular if you plan to edit the file in Excel). Another common example is semicolon (';').


Example (import/export emission values):


Field names that can be used in a line-format specification

attr. namecomments
ID mandatory when importing
COLOR
FILL
SELECTED
COORD.X
COORD.Y
COORD.Z
COORD.H
EMISSION.D
EMISSION.N