Using Formulas

This task explains how a parameter can be constrained by a formula. 
See the Knowledgeware Infrastructure - Tips and Techniques - Summary dedicated to the infrastructure knowledgeware capabilities for more information on  formulas.
ascenari.gif (1364 bytes)
  1. Click the I_FormulaP2.gif (164 bytes) icon. The Formulas dialog box is displayed.

  2. From the parameters list, select the PartBody\Sketch.1\Radius.3\Radius item, then click Add Formula. The Formula editor is displayed.

  1. Enter the 2 * PartBody\Hole.1\Diameter relation.

     
  1. Click OK in the Formula Editor after you have typed your relation. The Formula.1 relation is added to the specification tree.
    In the parameter list of the dialog box, a formula is now associated with the sketch radius.

  2. From the parameters list, select the PadLength item, click Add Formula to create the formula below:

    PadLength = PartBody\Pad.1\FirstLimit\Length  + PartBody\Pad.1\SecondLimit\Length

    In the parameter list, the Formula.2 relation is now associated with the PadLength user parameter. In the specification tree, PadLength is also displayed with the value resulting from Formula.2. 

  3. Click OK twice in the Formulas dialog box to terminate this task. Keep your document open and proceed to the next task. This is now what displays in the specification tree under "Relations":