Label Properties: Regeneration Definition

You can define regeneration rules for label definitions. Normally, labels are updated (regenerated) automatically when an attribute is modified. However, this only updates the attributes of the main feature class, which is the feature class the label definition belongs to.

Regeneration rules are applied, if the label definition contains text that is stored in a secondary related feature class. For example, a label definition of the building feature class that displays informations that is stored in the street feature class.

In the Label Properties dialog box, click Regeneration Definition to define regeneration rules.

Label Regeneration Definition dialog box

Description

Regeneration Rules

Selects a rule. The default name for a rule is the name of the current label definition.

Create New Rule

Creates a new rule.

Selected Regeneration Rule

Displays the properties.

Feature Class

Selects the related feature class (secondary feature class). If a feature of this feature class is modified, the regeneration rule is applied.

If One Of The Following Is Changed

Displays the attributes of the selected feature class. Select an attribute whose modification will cause the regeneration rule to be executed.

Run This Statement To Get The Label Parent FIDs

Defines a selection to get the label parent ID. The default statement contains the main and the secondary feature class. The alias $id has to be used.

Activate This Rule

Activates the rule.

Assistant button

Opens the SQL Assistant. Optionally, you use the SQL Assistant to create SQL expressions. See Creating SQL Expressions.

Note:

If you define a label regeneration rule, some RegnerateLabel feature rules are added to the secondary feature class. You can view these in the feature rule editor.

Attention:

Do not deactivate these rules in the feature rule properties. Use the Activate This Rule option in the Regeneration Definition dialog box to deactivate or activate the rule.