Add, define, edit, and copy model parameters.
What's New:
2021.1,
2023,
2024.2
You can define numeric parameters, text parameters, or true/false parameters. (Only numeric parameters support expressions.) Although you can define multiple values for a parameter, a parameter can have only one value at any time.
You can also change the value of an existing parameter by editing the sketch dimension or the feature.
Tip: If you use the same parameters in many parts, create a template file that contains the parameters. Save the template in the Templates folder to use when creating new part files.
Display the Parameters Dialog
- On the ribbon, click
Manage tab
Parameters panel
Parameters.
- Do any of the following:
- To filter the display of parameters, select a filter from the Filters list
.
- Expand or collapse the Model Parameters list and the User Parameters list.
- To delete a parameter, right-click on the parameter row and select Delete Parameter.
- Right-click and select Copy/Paste or use the Ctrl+C and Ctrl+V shortcut to copy and paste values within the Parameters dialog.
Change a Name or Value in the Parameters Dialog
- In the Parameters dialog, locate the parameter to change.
If you entered a dimension or other value in an edit box, the value is listed here.
- To change the Parameter Name, Equation, or Comment, click in the corresponding box to select the existing value and then enter the new value.
- Click inside a Tolerance row box and click the pencil icon to open the Tolerance dialog where you can set the tolerance values.
- Press Enter to save the change.
- To update the model, click Update on the Quick Access toolbar.
When you edit a feature, all dependent parameters change with the feature.
Note: Only normal dimensions can be manually edited. Convert driven (reference) dimensions to normal dimensions so you can edit them. In an overconstrained sketch, you may have to first convert other dimensions to driven (reference) parameters or remove some dimensions or constraints, before you can convert driven dimensions to normal dimensions.
Search for Parameters
- At the top of the Parameters dialog, type the search criteria to the box. The search results auto-update as you specify the search criteria and highlight the matched search.
Search is performed in all parameter fields and you can combine various search criteria or limit the search columns, for example. See the
Search Options Reference topic for the complete list of possible search options.
Note: If a Filter is on, only parameter rows that match the filter are shown as search results.
Add Numeric User Parameters
- At the bottom of the Parameters dialog, click Add Numeric from the drop-down menu to add a numeric parameter row to the User Parameters table.
- Click in the boxes to enter the Parameter Name, Units, and Equation.
When you click the Units box, you use the Unit Type dialog to choose units. You can also build compound unit specifications, such as in/sec, using operators such as multiplication, division, or exponentiation.
- Select the Key checkbox if the parameter is a key parameter.
Add Text or True/False User Parameters
- At the bottom of the Parameters dialog, click the drop-down and do one of the following:
- Choose Add Text to add a text parameter row.
- Choose Add True/False to add a Boolean parameter row.
- Click in the Parameter Name box to enter the name.
- Edit the Equation box to set the parameter’s value.
- Select Key if the parameter is a key parameter.
Specify Multiple Values for a Parameter
- In the Parameters dialog, right-click the parameter row and select Make Multi-Value.
- In the Value List Editor dialog, enter the values in the Add New Item area, with each value on a separate line. Use the Enter key to add new lines as necessary.
The value list items for numeric parameters can be actual parameter expressions.
- Click Add to move the values to the Value field.
- Click OK.
- Once you have created a multi-value parameter, you can do any of the following:
- To choose a different value, click the Equation box and use the drop-down arrow.
- To edit a multi-value list, right-click the Equation box.
Use a Custom Value for a Multi-Value Parameter
You can add only one custom value to a multi-value parameter. If you attempt to add another custom value, the previous custom value is overwritten.
- In the Parameters dialog, right-click on the Equation box of the parameter, and select Edit Multi-Value List.
- In the Value List Editor dialog, select Allow custom values.
- Click OK to close the Value List Editor.
- Click the arrow in the Equation box of the parameter to display the list of values, and select the new choice <Custom Value>.
- Overwrite the value in the Equation box, and press Enter.
The custom value is now a member of the list of available values in the Equation box, and it is the currently selected value. However, the custom value is not included in the multi-value list displayed in the Value List Editor for that parameter.
- To remove the custom value, change the value to one of the other values. Then, open the Value List Editor for the parameter and clear the checkbox for Allow custom values.
Copy to User Parameter
This contextual option within parameters allows you to add a copy of a pre-existing parameter to your list of user parameters.
- On the ribbon, click
Manage tab
Parameters.
- In the Parameters dialog box, right-click on the row of the parameter you wish to be copied and select Copy to User Parameter. This Copy feature can be utilized (Pasted) multiple times.
- At the bottom of the list, under User Parameters, there is a new copy of the parameter with a new Parameter Name suffix _copy. On creation, the Parameter Name cell is highlighted for edit, allowing the ability to quickly populate a desired Parameter name.
- Click Done to close the Parameter dialog box.
Display Exported Parameters in Bill of Material and Parts List
- In the Parameters dialog, check the Export Parameter box in the rows you want to export. This adds the selected values to the iProperties Custom tab.
- In the Bill of Materials or Parts List dialogs, click the Column Chooser.
- Select the Custom Properties field.
- From the Available Properties field, select the parameters that you want to appear in the bill of material or parts list.
- Click Done. The selected parameter appears as a new column.
Import or Export Parameters to XML
Use the Import from XML and Export to XML buttons to import or export parameters to XML, and export model and user parameters to component properties.
Note: The tolerance settings for model state parameters are included in the XML file.