Easily add Global Variable to drive a Pattern, SolidWorks

Sometimes you need to drive a dimension or value using a Global Variable. In this case, we will control the instances of a hole in a Circular Pattern using a Global Variable.

Step 1
We create the model below as an example. We will use the cut to create a Circular Pattern around the center of the disk.

global_variables_01

Step 2
Next we will create a Global Variable called “NUMBER” and give it a value of 4. Select TOOLS/EQUATIONS to access the menu.

global_variables_09

In the Global Variables section, enter the name” NUMBER”, and the VALUE as “4”. Select OK to accept.

global_variables_02

Step 3
Create a Circular Pattern, and select the cut as the feature. Select the axis or the revolved face as the pattern center.

global_variables_04

Step 4
In the “Number of Instances” box, enter the equal sign “=” to access the Global Variables that are available. Select the variable called “NUMBER” that we created before.

global_variables_05

Step 5
Accept the Pattern and rebuild the model. Notice that the EQUATIONS folder is now available in the Feature Manager Design Tree.

global_variables_03

Step 6
Change the Global Variable and see how the model reacts. Right-click EQUATIONS and select Manage Equations.

global_variables_06

Change from 4 to 6, and press REBUILD.

global_variables_07

Your model should now have 6 holes.

global_variables_08

Thank you for reading this tutorial.

Leave a Reply

Please Login to Comment.