Page 344 - Mastering SolidWorks
P. 344
Chapter 10
Using Equations
Parametric sketch relations are not the only way to drive dimensions with intelligence. You can
also use equations and variables. Equations help you create simple or complex mathematical
relationships between dimensions. Global variables can be used in equations just as other
dimension names can.
IN THIS CHAPTER, YOU WILL LEARN TO:
◆ Use equations to create relationships between dimensions
◆ Link dimensions together
◆ Assign global variables
◆ Enter expressions
◆ Control suppression states of features and components
◆ Link to an existing equation from a SolidWorks model
Understanding Equations
You can gain access to the Equations dialog box by using the Tools toolbar or by choosing Tools ➢
Equations from the menu. Equations are stored in a folder at the top of the FeatureManager.
Figure 10.1 shows the Equations interface.
Using the Equations interface, you can suppress individual equations temporarily by deselect-
ing the Active check box to the left of the equation. Equations can also be deactivated by a design
table. I discuss design tables in more detail in Chapter 11, “Working with Part Configurations,”
where I also discuss configurations.
CAUTION Although I do not cover configurations until Chapter 11, I mention part of the relation-
ship between equations and configurations here. Equations and configurations (particularly those
that are driven by a design table) should probably not be mixed. This is not because they do not work
together; it’s more for the sake of organization. Add to this the fact that global variables are config-
urable, and it certainly opens up new possibilities—but it also creates potential problems for users,
because they can control dimensions from both configurations and equations. Also, equations in Excel
are far more powerful than the comparatively limited equation functionality offered in SolidWorks.
Of course, every user has different reasons for working one way or another; I am just offering a warn-
ing about a potential source of conflict.
Mastering SolidWorks, First Edition. Matt Lombard.
© 2019 John Wiley & Sons, Inc. Published 2019 by John Wiley & Sons, Inc.