Working with Parameters

You can create parameters and assign values to these parameters.

Parameters are features that can be constrained by relations and that can be used as the arguments of a relation.

This task shows you how to:

Create a Parameter

  1. From the Tools section of the action bar, click Create Parameter .
    The Parameter panel appears.
  2. From the Parameter Type list, select one of the following types:
    • Length
    • Angle
    • Area
    • Volume
    • Mass
    • Real
    • Integer
    • Boolean
  3. In the Name box, enter a descriptive name.
  4. In the Value box, specify the parameter's value.

    When you create a Boolean parameter, select True or False.

  5. Optional: Click the menu icon to specify additional options:
    OptionDescription
    Add Equation Lets you use the parameter in an equation.
    Add multiple values Lets you specify several values for the parameter.

    This option is not available when you create a Boolean parameter.

    Add range Lets you define a minimum and a maximum range value for the parameter.

    This option is not available when you create a Boolean parameter.

  6. Validate .

    Tip: To create several parameters in a row, you can click Apply, define another parameter in the panel, and then validate.

    The new parameter appears under the Parameters node in the tree.

    To add new parameters after the creation of your first parameter, you can:

    • Click Create Parameter from the Tools section.
    • Click the Parameters node in the tree, and then select a type of parameter on the context toolbar.

Edit a Parameter

  1. In the tree, do one of the following to edit an existing parameter:
    • Double-click the parameter.
    • Click the parameter, and then click Edit Feature on the context toolbar.
  2. In the panel, edit the parameter's value.

    Important: You cannot modify the type of an existing parameter.

  3. Click Apply to update the shape using the parameter.
  4. Validate .