Defining a Component Suppression Equation
Now use an equation to suppress a component in an assembly.
- Open install_dir\samples\whatsnew\parts\plate_assembly_111.sldasm. If prompted to rebuild, click Yes.

First, import my_equations.txt so that you can use the global variable "overall length" in the component suppression equation.
- Click .
- In the Equations dialog box, click Import.
- In the Open dialog box:
- Select my_equations.txt.
- Select Link to file.
- Click Open.
Because the assembly does not contain all the same dimensions as the parts, warnings about invalid equations appear.
- Click OK to dismiss each warning.
Two equations are imported into the model, including global variable "overall length".
- Click OK to close the Equations dialog box.
Now add an equation to suppress the second instance of the pin when overall length is less than 40 mm.
- In the FeatureManager design tree, right-click Equations
and click Add Equation.
- In the FeatureManager design tree, click pin<2>.
"pin<2>" appears in the Add Equation dialog box.
- In the dialog box, complete the equation:
"pin<2>" = iif ( "overall length"<40, "suppressed" , "unsuppressed" )
You can type the entire equation or use the following tips to enter various pieces:
- To insert global variable "overall length", expand Equations
in the FeatureManager design tree and click "overall length"=100.
- To insert "suppressed" and "unsuppressed", click the suppress and unsuppress buttons in the dialog box.
- Click OK.
The new equation is added to the Equations dialog box.
- Click OK.
- Save the assembly. In the Save Modified Documents dialog box, click Save All . If prompted to rebuild, click Yes.