Editing a Formula

  1. In the Formulas tab, select the formula you want to edit.
  2. Press <F2> to rename the formula.
  3. Do one of the following.

    • In the Global Formulas menu, select Edit.

    • Select Edit from the context menu.

    • Double-click the formula.

    The formula editor for global formulas opens.

  4. In the Type combo box, select the type of formula to be edited.
  5. Enter the required values in the respective fields.
  6. Enter a unit into the Unit field.

    The unit is used for documentation purposes only and does not influence the functionality.

  7. Enter a comment into the Comment field.
  8. Click OK.

You cannot rename or delete the ident formula. When you edit the ident formula and select another type from the Type combo box, the following warning is displayed:

The <ident> formula is used for newly created elements to provide an identity conversion and changing this formula may corrupt your implementation. Do you really want to change the <ident> formula?

If you really want to change the type of the ident formula, click Yes. Otherwise, click No.

If you are working with AUTOSAR, you can use the Comment field to enter an AUTOSAR-specific name for the physical unit. The AUTOSAR-specific name is entered as follows:

AR-UnitName="<name>"

The semantic of the name is as follows:

Note

The given name must not contain any template parameter (i.e., %...%), but is taken as is.

You cannot specify an AUTOSAR-specific name for a physical unit entered in the properties editor of an element. Instead a formula must be created and assigned to the element.