When you add a dimension or other measurement to a model, that value is established as a parameter for the model. Use parameters in equations to derive other parameters or define user parameters that you call by name when entering values.
Dimensions that are calculated by an equation are preceded by the prefix fx.
When you enter a dimension or other value in an edit box, the value is defined as a parameter for the model and assigned a default name, such as d0, d1, or d2. You can override the default and specify a parameter name when the value is entered in the edit box.
For example, if you want to extrude a sketch profile to a height of 2 mm, enter 2 mm in the distance edit box of the Extrude dialog box. When the extrusion command is executed, a default parameter, such as d0, is created and assigned the value of 2 mm. However, if instead you enter HT = 2 mm, Inventor parses the expression and creates the parameter HT with the assigned value of 2 mm. In this manner, you establish meaningful parameter names for reference and later use.
To change the parameter name or value, use the edit box in a similar manner. Let us say that you want to change the parameter name from HT to HGHT in the previous example. You edit the extrusion feature and enter HGHT=2 mm in the distance edit box. The HT parameter is replaced by the HGHT parameter when the command is executed.
When you enter a dimension or other value in an edit box, the value is defined as a parameter for the model and assigned a default name, such as d0, d1, or d2. You can use the Parameters command to rename an existing parameter and change the parameter value. You can also change the value of a parameter by changing its equations .
Note: Only normal dimensions can be edited. To convert
driven (reference) dimensions
to normal dimensions, select the Style box, and then click Normal. To avoid overconstraining the sketch, you might need to convert other dimensions to driven.
Tip: You can also change the value of an existing parameter by editing the sketch dimension or the feature.
|
You can define numeric parameters, for values such as yield strength, and specify them by name to set the values of dimensions or other measurements in a model.
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.
|
You can define text parameters, such as colors or other descriptive text strings, and specify them by name to set values in a model. Keep in mind, however, that text parameters do not support expressions.
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.
|
You can define true/false parameters, and specify them by name, to set true or false conditions in a model. Keep in mind, however, that true/false parameters do not support expressions.
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.
|
You can define multiple values for a parameter; however, a parameter can only have one value at any time. The values are actually expressions, and so the value list items for numeric parameters can be actual parameter expressions.
If a custom value has also been defined for the parameter, it is included in the list.
You can add a custom value to a multi-value parameter if you have. The custom value is not part of the value list already defined for the parameter, but it is available for selection from the Equation field of the parameter. You must enable the use of a custom value for the parameter before you can add the value.
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.
You can only add one custom value to a multi-value parameter. If you attempt to add another custom value, the previous custom value is overwritten.
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.
If you prefer, you can enter units directly in the Unit Specification box.
You can choose which parameters to include for display in the Parameters dialog box, based on certain criteria.
To filter the display of parameters, select a filter from the Filters list.
You can also expand or collapse the Model Parameters list and the User Parameters list to hide or display those parameters.
You can reduce the display of the Parameters dialog box to include fewer columns and buttons.
To reduce the display, click << Less at the bottom of the dialog box. The window of the dialog box is resized accordingly. The dialog box continues to display in reduced mode until you change it back to full display.
To return to full display, click More >> at the bottom of the dialog box.
When you link to or embed a spreadsheet, a table showing the parameters is added to the Parameters dialog box. You cannot edit the parameters in the spreadsheet from the Parameters dialog box. Open the file in Microsoft Excel to make changes. |
|
|
In the Parameters dialog box, right-click anywhere on the parameter row, and select Delete Parameter.
You can create custom parameter groups using the API.