Hide Table of Contents

Linking Dimensions Using Global Variables

To link values by using a global variable in the Modify dialog box:

  1. Double click the dimension, then in the Modify dialog box, type = (equal sign).
    linked_values_1
    You must enter the equal sign to assign a global variable to the dimension. If you do not enter the equal sign, you can create a new global variable, but it will not be assigned to the dimension.
  2. Type a name for the global variable.
    The name appears in yellow and Create Global Variable appears.

  3. Click Create Global Variable .
  4. Click PM_OK.gif.

    equations_dimension appears next to the dimension in the graphics area.

  5. Toggle the display of the value and the name by clicking the Global Variable button .
    linked_values_3
  6. Find the dimension you want to associate with the global variable. Double click the dimension, then in the Modify dialog box, type = (equal sign) and several characters of the global variable name.
    A flyout menu appears with a name that matches the characters you have typed.
    linked_values_4
  7. Select the global variable name and click PM_OK.gif.
    Both dimensions become linked to the global variable.


    linked_values_5

  8. Repeat for as many dimensions as needed.
You can edit the global variable by double clicking the dimensions and using the Modify dialog box, or by editing the values in the Equations dialog box.

Global variables are bi-directional, meaning that if two or more dimensions are defined in terms of a global variable, then changing any one of the dimensions will cause the others to change.



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:   Linking Dimensions Using Global Variables
*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 2016 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.