Hide Table of Contents

Modifying a Global Variable in the Equations Dialog Box

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

    Manage_EquationsV3

    The Equations dialog box opens.

  3. Select the Equations Equations View Icon Vew.
  4. Click the first row in Global Variables for "overall length" and change the entry in the Value/Equation column from 100 to 200.
  5. Press Enter or Tab to move to the next cell in the Comments row.

    The number updates in the Evaluates to column and the model automatically rebuilds. All the dimensions that use the global variable, "overall length", also double in number.

  6. Type a comment such as Doubled Size.

    EquationsView_DoubleSized

  7. Click Undo tool_undo.gif until the "overall length" restores to its original size of 100mm.

    Because Automatically Rebuild is selected, the model resizes to the original dimensions. All the dimensions that use the global variable "overall length" restore to the original dimensions. The Comments cell is also cleared.

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

      The Features name displays. The SolidWorks software populates the next cell with = (equals sign) and displays a drop-down list with options for Global Variables, Functions, File Properties, and Measure.

    3. Expand Global Variables, select suppressed, and click PM_OK.gif.

      SuppressedFeature

      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:   Modifying a Global Variable in the Equations Dialog Box
*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: SOLIDWORKS 2013 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.