Formulas: Other Operations

You can find information concerning the operations that you can perform on formulas.

This page discusses:

See Also
About Parameters
Creating a Formula

Quickly Accessing Parameters Values in the Formulas Editor

A box enables you to change a parameter value when creating and especially editing a formula. This box is especially useful when you want to modify the value of a parameter valuated by a formula.

  • Double-click the parameter in the tree.
  • Click next to the parameter value box. The Formulas editor opens.
  • In the relation body, select the parameter that you want to modify and change its value.

Using the Dimensions of a Sketch in a Formula

Unless sketch dimensions are declared as constraints, you cannot manipulate them as parameters in relations. For example, this applies to the radius of a circular sketch or to the width and length of a rectangular sketch.

Displaying Only a Formula Definition in f(x)

Select a formula in the tree, and then click Formula from the Knowledge Essentials section of the action bar, the parameter list displays the constrained parameter, the formula activity, and the parameters used as input in the formula.

Specifying a Measure in a Formula

  • Edit the parameter, right-click the value box in the parameter editor, and then select Edit formula.
  • In the Formula Editor, click Wizard, select the Measures item in the dictionary , and then select one of the measure functions displayed in the wizard.
  • Fulfill the function prototype and allow for the required number of arguments. To enter an argument value, position the pointer where the argument is intended to be and capture the feature definition from the tree or from the 3D area.

Activating/Deactivating a Formula

There are three ways to proceed:

  • From the Knowledge Essentials section of the action bar, click Formula. From the parameter list, select the formula/activity parameter and modify its value in the editor under the Value column.
  • In the tree, right-click the formula whose activity you want to modify, and then select Formula object>(De)Activate.
  • Edit the constrained parameter, right-click the value box, and then select Formula>(De)Activate.

Creating a Quick Formula

You can create a quick formula using constants and user parameters.

  1. Double-click a parameter in the tree.
  2. In the Edit Parameter dialog box, define the formula.
Notes:
  • Start the formula with =.
  • Quick formula does not work for integers.