Editing Dependent Parameters

In order to make the dependency of the element in the model effective, the formal parameters must be specified according to the model.

  1. In the "Outline" tab of the specification editor, select the dependent parameter you want to edit.
  2. ClosedOpen the data editor for the dependent parameter.

    • In the Edit menu, select Data.

      Or

    • Right-click the element in the "Outline" tab or the drawing area, and select Data from the context menu.

      Or

    • In the "Browser" view, select the "Data" tab.
    • Highlight the element you want to edit.
    • Press <Enter> or right-click the "Data" tab and select Edit from the context menu.

    The "Edit Dependency for:" window opens. The Mapping Table contains all formal parameters.

  3. For each formal parameter in the "Identifier" column, select a parameter, constant or system constant (normal or user-defined) from the combo box in the " Model Parameter" column.

    If the dependent parameter is of scope local, all parameters – including other dependent parameters –, constants and system constants (normal or user-defined) are available for mapping.

    If the dependent parameter is of scope exported, exported and imported parameters, constants and system constants (normal or user-defined) are available for mapping.

    Note

    Code generation will fail if a formal parameter is left with [undefined] in the "Model Parameter" column.

  4. Close the "Edit Dependency for:" window with OK.

    With that, a model parameter, constant or system constant which determines the dependent parameter value is assigned to the formal parameter.

    If you assigned a constant or system constant, the placeholder is replaced by the actual value in the generated code.

See also

Edit Dependency for: Window

Creating the Formula for Dependent Parameters

Editing the Formula of a Dependent Parameter

Introduction – Dependent Parameters

Introduction – Importing Dependent Parameters

Introduction – Constants and System Constants