Hide Table of Contents

Defining a Component Suppression Equation

Now use an equation to suppress a component in an assembly.

  1. 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.

  2. Click Tools > Equations.
  3. In the Equations dialog box, click Import.
  4. In the Open dialog box:
    1. Select my_equations.txt.
    2. Select Link to file.
    3. Click Open.

    Because the assembly does not contain all the same dimensions as the parts, warnings about invalid equations appear.

  5. Click OK to dismiss each warning.

    Two equations are imported into the model, including global variable "overall length".

  6. 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.

  7. In the FeatureManager design tree, right-click Equations and click Add Equation.
  8. In the FeatureManager design tree, click pin<2>.

    "pin<2>" appears in the Add Equation dialog box.

  9. 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.

  10. Click OK.

    The new equation is added to the Equations dialog box.

  11. Click OK.
  12. Save the assembly. In the Save Modified Documents dialog box, click Save All . If prompted to rebuild, click Yes.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Defining a Component Suppression Equation
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: 2011 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.