You can add an equation to sketch entities using the Sketch Equation View.
To add an equation in the Sketch Equation View:
-
In an open sketch, do one of the following:
- Click Equations (Tools toolbar).
- Click .
- Right-click the Equations folder in the FeatureManager design tree, and select Manage Equations.
- Select the Sketch Equation View .
- Under Sketch Equations, click an empty cell in the Name column.
- Click a dimension in the graphics area.
The SOLIDWORKS software does the following:
- Propagates the dimension name to an empty cell in the Name column and encloses it in quotation marks.
- Moves the cursor to the Value/Equations column and inserts = (equal sign).
- Displays a flyout menu with options for starting the equation.
- After = (equal sign), add a term to the equation by doing one of the following:
- Type a number or a conditional statement.
- Select a Global Variable, Function or File Property from the flyout menu.
You must define a global variable in the Equation View before you can apply it to a sketch equation.
A
appears in the cell to indicate that the syntax is valid.
- Type + (plus), - (minus) or another mathematical symbol.
- Add another term to the equation.
- When the equation is complete, click .
The solution to the equation appears in the Evaluates to column and the cursor moves to the next cell in the Comments column.
- Add comments to document your design intent.
- Click OK to close the dialog box.