Creating the Formula for Dependent Parameters

  1. In the properties editor of the parameter in question, select the scope Local or Exported.

    Note

    Imported parameters must not be specified as dependent parameters.

  2. Activate the Dependent option in the Attributes area.

    The button is activated.

  3. Click the button.

    The Formula Editor for dependent parameters opens. Here, you can enter the element dependency as a formula (C Syntax). The cursor position in the Formula field is indicated below the field.

    You can create the formula for the dependency in the Formula field using formal parameters, operators, and functions. There are two ways for doing so:

  4. Enter the formula directly in the Formula field.

    Or

  5. Use the combo boxes.

    1. In the Function combo box, select a function.

      The selected function appears in the Formula field, at the cursor position.

    2. In the Operator combo box, select an operator.

      The selected operator appears in the Formula field, at the cursor position.

    3. Enter the name for the formal parameter in the Formula field.

    Operators, functions and formal parameters can be inserted in any number or sequence. However, only one can be added at a time.

  6. Click OK to close the Formula Editor and accept the settings.

    If you used an invalid name for a formal parameter, an error message opens. Confirm this message with OK and enter a valid, i.e. ANSI-C-compliant, name.

  7. Edit the dependent parameter.

See also

Editing Dependent Parameters

Editing the Formula of a Dependent Parameter

Dependent Elements

Introduction – Importing Dependent Parameters