Creating a Formula

You can create a Formula using the f(x) editor. A formula is a statement that you can write by selecting items from the editor dictionary list. This task shows you how to create a formula specifying that the external radius of a hollow cylinder is twice its internal diameter. Note that the radius of a sketch can be defined by a formula provided it is declared as a constraint.


Before you begin: Make sure Relations is active in the Tools > Options... > Infrastructure > 3D Shape Infrastructure > Display tab and refer to Sample 3 to create the model required to perform this scenario.

Note: For more information about the language to be used, see Knowledge Advisor User's Guide: Engineering Knowledge Language.

Related Topics
About Formulas
  1. Click Formula to display the About the Formula Editor. Make sure that you have not clicked Incremental .

    Method 1

    • Create a Volume parameter. To do so, select Volume in the list and click New Parameter of type.
    • Double-click Volume.1 and enter smartVolume(PartBody\Pad.1) in the formula field. See Formulas: Other Operations for information on how to manipulate formulas.
    • Click OK in the Formula Editor. Click No when asked if you want this relation to be updated at the global update.
    Method 2
    • Create a Volume parameter. To do so, select Volume in the list and click New Parameter of type.
    • Click Add Formula. The Formula Editor is displayed.
    • Enter smartVolume(PartBody\Pad.1) in the formula field.
    • Click OK in the Formula Editor.

  2. Click Apply

    to update the document.

  3. Click OK

    to close the dialog box.