Creating a Formula

This task shows you how to create a formula.


Before you begin: Make sure Relations is enabled in Me Preferences>3DEXPERIENCE Platform Common Preferences >Display > 3D Shape Infrastructure>Display in Tree.
Note: For more information about Enterprise Knowledge Language, see the Enterprise Knowledge Language Reference Guide.
See Also
About Formulas
Formulas: Other Operations
From the Tools section of the action bar, click Formula .
Method 1
  • Create a parameter. To do so, select a parameter type from the list and click New Parameter of type.
  • Double-click the parameter in the editor, click a category in the Dictionary column and select a function or a method in the Members of Math column.
  • Optional: you may need to select an element in the 3D area.
  • Click OK. Depending on your needs, select Yes or No when asked if you want this relation to be updated at the global update.
Method 2
  • Create a parameter. To do so, select a parameter type from the list and click New Parameter of type.
  • Click Add Formula.
  • Click a category in the Dictionary column and select a function or a method in the Members of Math column.
  • Optional: you may need to select an element in the 3D area
  • Click OK. Depending on your needs, select Yes or No when asked if you want this relation to be updated at the global update.

Example

This example shows you how to create a formula specifying that the external radius of a hollow cylinder is twice as large as its internal diameter. Note that the radius of a sketch can be defined by a formula provided it is declared as a constraint.

You must have created a pad.

  1. Click Formula .
  2. Create a Volume parameter. To do so, select Volume from the list and click New Parameter of type.
  3. Double-click Volume.1 and enter smartVolume(PartBody\Pad.1) in the formula box.
  4. Click OK in the Formulas editor. Click No when asked if you want this relation to be updated at the global update.