Fun With SolidWorks Equations
March 26, 2008
![]()
Disclaimer: This post isn’t directly API-related but using logic statements in SolidWorks equations is so useful that I decided to post it. Also, the syntax is in a kind of “techno-weenie-ese” so I thought I would help folks with the syntax.
The SolidWorks equation editor is a very useful, powerful and yet easy to use tool for building design intent into your SolidWorks model. However, most people don’t take full advantage of its power. In addition to support for constants, which are nice, the equation editor allows If…Then type logic statements. The idea is that you can set a dimension’s value to one of two values depending on the veracity of a logic statement pertaining to another/other dimension(s). Say what?….
Time for an example…
If you enjoyed this post, make sure you subscribe to my RSS feed!



