This functionality is only available for certain module packages.

Parameter values specified

On the Formula editor page, a default value can be entered for the parameter that is either fixed or determined by means of the runtime formula.

To specify a default value:

Create parameter with default value

  1. Open the Formula editor page.
  2. Enter a fixed value or a formula in the Value field.
  3. Save with [Ctrl] + [S] or .

The validity of the values to be entered can be checked by means of a formula in the Formula field. If a given value is not valid, the result field is highlighted in yellow and a message is entered in the message protocol with the text of the Warning field.

To specify a validity check:

Create parameter with constraint formula

  1. Open the Formula editor page.
  2. Enter a formula for the validity check in the Formula field.
  3. Enter an information text into the Warning field.
  4. Save with [Ctrl] + [S] or .

Example of validity check:

The following formula checks whether the entered value lies between 50 and 100:

=this.value < 100 and this.value > 50

Note:

The Observe conditions when checking formula results option in the user preferences must be activated in order for the conditions to be checked for valid values (see Preferences for validating).

If only certain parameters are to be selected, they can be created in the table Selection values.

To create selection values:

Create parameter with selection values

  1. Open the Formula editor page.
  2. Click for each selection value.
  3. Enter the selection values in the table.
  4. Save with [Ctrl] + [S] or .

Note:

When creating selection values, the usual shortcut keys for Copy / Cut / Paste are not supported. These functions are available only through the context menu.