Using Knowledge Parameters and Formulas

You can create and manage a set of specific parameters for a mechanism or analysis case element using knowledge parameters. You can associate existing parameters to any mechanism or analysis case element that is compatible with knowledge parameters. For more information, see 3D Modeling | Multidiscipline Automated Engineering | Knowledge Basics | Knowledge Basics | Creating and Working with Parameters.

This task shows you how to:


Before you begin: Create a mechanism and define it as current. For more information, see Creating Mechanisms.

Create Mechanism Parameters

  1. In the tree, under the Mechanism node, click Parameters .
  2. To create a parameter for the mechanism, click one of the following parameter types on the shortcut toolbar:

    Parameter Description
    Parameter Set Adds a set of parameters that lets you regroup parameters by categories.
    Parameter of type Real Creates a real parameter.
    Parameter of type String Creates a string parameter.
    Parameter of type Boolean Creates a Boolean parameter.
    Parameter of type Integer Creates an integer parameter.
    Parameter of type Angle Creates an angle parameter.
    Parameter of type Length Creates a length parameter.
    Other parameter Creates a user-specific parameter.

    The parameter appears under the Parameters node. For more information, see 3D Modeling | Multidiscipline Automated Engineering | Knowledge Basics | Knowledge Basics | Creating and Working with Parameters | Creating Parameters | Creating a Parameter Using the Shortcut Toolbar.

    If you edit a parameter, the definition of the mechanism elements referencing the parameter is updated accordingly.

    Important: Before editing a mechanism parameter created using the shortcut toolbar, make sure to activate the product including the mechanism in the tree.

Create Formulas

  1. Click Parameters under the current mechanism.
  2. Click Formula on the shortcut toolbar.
  3. In the Formulas dialog box, edit the parameters.
  4. To assign a formula to the parameter, double-click the Formula cell from the parameter row.
  5. In the Formula Editor dialog box, edit the formula or add a function.
    The created formula appears under the Relations node of the mechanism.

Result: For more information, see 3D Modeling | Multidiscipline Automated Engineering | Knowledge Basics | Knowledge Basics | Managing Relations | Formulas | Creating a Formula.

Use Formulas to Define Element Properties

  1. In the work area, double-click the mechanism or analysis case element to edit.
  2. Right-click an option and select Edit formula .

    Notes:
    • You can only associate a parameter or formula to an option that is compatible with knowledge parameters and formulas.
    • If you create a compatible analysis case element, you can define it using the parameters available either in the Model or Scenario node of the tree.
    • If you create a compatible mechanism element, you can define it using the parameters available in the Model node of the tree.

    The name of the formula appears in the field. You can right-click the field to edit, deactivate, or delete the formula.
    Important: Before editing a mechanism parameter used in a formula and created using the shortcut toolbar, make sure to activate in the tree the product that includes the mechanism.