Creating Label definitions

All attribute data of an element can be displayed as text using label definitions. These definitions are created using any select statements.


Creation of a new label definition, in this case “Segment”

In Autodesk Infrastructure Administrator, navigate to Data Model Administrator via Industry model > Data model

Right-click on the desired element to open the context menu > Create label definition


A properties window will then open.


1. Name of the label definition

2. If the check mark is set, the label is automatically applied when creating a higher-layer object.

3. SQL statement for defining the text content

4. If the check mark is set, the label is created even if the SQL statement for the text content is empty.

5. Default text to be inserted before or after the selected text.

6. SQL statement for specifying the parent geometry

7. Specification of the positioning of the label

  • Positioning of the label object
    • Absolute: Determination of the text-field insertion mark relative to geographic North and East
    • Relative: Determination of text insertion marks relative to a line perpendicular to the object direction.
  • Offset of the insertion point in easting and northing value
  • Positioning of a text field in relation to the start, center or end point of the higher layer geometry



8. If the check mark is set, the position of the label must be set manually when creating

9. Orientation of the label

  • Absolute: Defines the rotation relative to the coordinate system
  • Relative: Defines the rotation relative to the higher-layer object
  • The degree specification defines the rotation



10. If the check mark is set, when creating a label, attention is paid to its readability (e.g. if it is rotated automatically, it should be turned upside down by the relative rotation)

11. Defines the horizontal and vertical orientation of the label


12. Defines an optional select statement for the scaling factor so as to scale the label text relative to the scale


Regeneration definition

Normally, labels are automatically updated when attributes are changed. However, only attributes of the main feature class are updated. This is the feature class to which the label definition belongs. Regeneration rules are applied when the label definition contains text that is stored in an associated secondary feature class.

Open the dialog for defining new label regeneration.


Define the label regeneration.


  1. This selects a rule. The default name of a rule is the name of the current label definition.
  2. This creates a new rule.
  3. This deletes the selected rule.
  4. This selects the associated feature class (secondary feature class). If an object of this feature class is modified, the regeneration rule is applied.
  5. Select an attribute whose modification will cause the regeneration rule to run.
  6. This defines a select statement to retrieve the label’s higher-layer ID. The default statement contains the main and the secondary feature class.
  7. This activates the rule


Applying the label definition

Create a new label in the form, in this case “Segment”


Select a label definition, here “Segment Name—Training”





If you change the name of the trench in the form, it is also automatically adjusted in the label.