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