Hide Table of Contents

Using Equations

In this example, you modify the size of a cube using the Equations, Global Variables and Dimensions and Modify dialog boxes.

  1. Open install_dir\samples\whatsnew\Equations\sample1.sldprt.
  2. In the FeatureManager design tree, right-click the Equations folder and click Manage Equations.

    The Equations, Global Variables and Dimensions dialog box opens.

  3. Click the Equations Equations View Icon view.
  4. Click the first row in Global Variables for BlockSize and change the entry in the Value/Equation column from 50 to 100.
  5. Press Tab to move to the next cell in the row.

    The number automatically updates in the Evaluate column and the cube rebuilds. All the dimensions that use the global variable, BlockSize, also double in number.

  6. Click Undo tool_undo.gif.

    Because Automatically Rebuild is selected, the cube resizes to the original dimensions.

  7. Click Redo tool_redo.gif to restore the cube to its new dimensions.
  8. Suppress the Cut-Extrude1 feature:
    1. In the Features column, click an empty cell.
    2. In the FeatureManager design tree, click Cut-Extrude1.

      The Feature name appears in the dialog box.

    3. Press Tab and = (equals sign) in the next cell.

      The = (equals sign) turns red to indicate that the equation is incomplete. A drop-down list appears with options for global variables, functions and file properties.

    4. In Global Variables, select suppressed and press Tab.

      Suppressed is added to the Evaluates to column.

      You can also define suppression by using the syntax of the Visual Basic if function.



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:   Using Equations
*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: 2012 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.