SolidWorks 2010 Bible

(Martin Jones) #1

Chapter 9: Using Equations


Equations are listed in the Equations folder in the FeatureManager. You can edit, add, or delete
them through the right mouse button (RMB) menu.


FIGURE 9.8

Figuring the flat pattern of the auger


Using equation tricks
Some functions that are permitted in SolidWorks equations are often viewed as parlor tricks, but
they actually do have some practical applications. The two functions that fall into this category are
IIF and SWITCH. If you are familiar with any programming language, you may already be familiar
with these two functions.

IIF .................................................................................................................


In words, this is how an IIF statement is used:

If some relationship is fulfilled, then the IIF function returns a value. If the relationship is not
fulfilled, then it returns a different value.

A more technical description is

IIF(expression, value if true, value if false)
Free download pdf