Show TOC

Action for a Characteristic (Example)Locate this document in the navigation structure

You can define actions so that the model selected always determines which handlebar is selected. For example, a racing handlebar is always selected for a racing bicycle.

You create an action for characteristic Model.

  1. On the Class screen choose the tab page Characteristics . Select the characteristic Model and call the function Start of the navigation path Characteristic Next navigation step Change Next navigation step . End of the navigation path

  2. Choose the tab page Values.

  3. Select the value Racing bicycle.

  4. You want to create a local dependency for this value. Choose Start of the navigation path Extras Next navigation step Object dependencies Next navigation step Editor. End of the navigation path

  5. You see a dialog box for selecting the dependency type. Select Action as type of object dependency .

  6. Confirm your entry.

  7. You see the dependency editor. Enter the following source code:

  8. $SELF.Handlebar eq ‘Racing_handlebar’

  9. Save your entries.

As soon as you assign the value Racing_bicycle to characteristic Model, the action assigns the value Racing_handlebar to characteristic Handlebar.