In this post, I will explain how to control a CATIA dimension using a pre-defined set of discrete values, rather than any value. As an example, we will be working with a sheet metal part shown below, in which the sheet can only come in standard thicknesses, for instance, 1mm, 1.2mm, 1.5mm, and 2mm.
First, we will create a user parameter with multiple values. In the Knowledge toolbar, select the Formula icon. In the New Parameter of type pull-down lists, select Length and Multiple Values, then click the New Parameter of type button.
In the Value list dialog box, enter the standard thickness values, and click OK to return to the Formulas dialog box.
Rename the created parameter from Length.1 to Thickness. Do not close the Formulas dialog box yet.
Next, we will link the part thickness with the newly created parameter.
Select the Sheet Metal Parameter.1 object in the tree. This puts the parameter view filter on the selected object, so now the list in the Formulas dialog box only displays the parameters for the selected object. Highlight the `Sheet Metal Parameter.1\Thickness’ parameter in the list and click the Add Formula button.
While in the Formula Editor dialog box, double-click the Thickness parameter in the tree, so it populates the right-hand side in the formula. This formula will equate the part thickness to the user parameter Thickness. Click OK to close the Formula Editor dialog box, then close the Formulas dialog box.
Double-click the Thickness parameter in the tree. Note that only standard thickness values are available for selection in the pull-down list.
Test the result by selecting different thickness values in the list and updating the part.
The list of standard thicknesses can be updated later, if necessary. To do that, double-click the parameter in the tree, then right-click in the value field, and select Multiple Values > Update Values in the contextual menu.
In the Value list dialog box that opens, edit the list as desired. In the example below, we’ve added standard thickness 1.8mm in between the 1.5mm and 2mm values.