Hide Table of Contents

Global Variables

You can create global variables to use in equations. You define global variables in the Add Equation dialog box (example: Well_Volume = 20000). You can:

Global variables and their current values appear:

To create a global variable:

  1. Click Equations on the Tools toolbar, or click Tools, Equations.

    The Equations dialog box appears. If any global variables already exist, the Equations folder in the FeatureManager design tree expands to show them.

  2. In the dialog box, click Add.

  3. Populate the equation box. See Entering Equations.

  4. Click OK.

    The equation and value for the global variable appear in the Equations dialog box.

  5. Click OK again.

    The global variable appears in the Equations folder in the FeatureManager design tree, where you can select it for use in other equations.


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

Subject:   Feedback on Help Topics
Page:   Global Variables
*   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:


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

Web Help Content Version: SOLIDWORKS 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.