Open Tools > Equations, add a named value under Global Variables, then use it in a driving dimension by typing = and picking the variable. A change to that value can update several dimensions together. I give each input a name that describes its job, so the next person can change the clearance without working through every sketch.
Name the dimension that should drive the change
A global variable in SOLIDWORKS is a named value used by a part or assembly. It can contain a number or an expression built from other values. If two dimensions should always match, a single variable can drive both directly. If they should change by different amounts, use equations that express the difference.

Use a slotted block to see the difference. A 24 mm tongue needs half a millimetre of free space on each side. The block needs 3 mm walls on either side of the slot. The inputs for the design are the tongue width, the side gap and the wall. The slot width and outside width are results.
For two dimensions whose values must stay exactly equal, Link Values also has a place. Changing either linked dimension updates the other. Here, the slot width and block width must differ by two wall thicknesses, so use separate expressions. The equation rows also make it easier to see where the model gets each value.
- Open a practice part and choose Tools > Equations. You can also right-click the Equations folder in the FeatureManager and choose Manage Equations.
- In Equation View, click an empty Name cell under Global Variables and type TongueWidth. SOLIDWORKS adds the quotes around the name and places
=in the Value/Equation field. Enter24mmthere. - Repeat for SideGap at
0.5mmand Wall at3mm. Give SideGap the comment Clearance on each side. Someone entering total clearance later would otherwise double the gap.
Add the units to the values even in an all-millimetre part. SOLIDWORKS evaluates explicit units in equations against the document's display units. If the document later displays inches, the physical 24 mm input still represents the same width.
Calculate the slot and the outside width
In the same Global Variables section, add SlotWidth and BlockWidth. Use the Value/Equation column to enter these expressions. If SOLIDWORKS has already inserted the equals sign, type the expression after it.
| Name | Value/Equation | Expected value |
|---|---|---|
| TongueWidth | =24mm | 24 mm |
| SideGap | =0.5mm | 0.5 mm per side |
| Wall | =3mm | 3 mm per side |
| SlotWidth | ="TongueWidth" + 2 * "SideGap" | 25 mm |
| BlockWidth | ="SlotWidth" + 2 * "Wall" | 31 mm |
Read both results in Evaluates to before closing the dialog. Use the variable picker or straight double quotes around names when you type them. In this design, the base depends on the calculated outside width. The slot depends on the calculated slot width. Neither calculation reads a dimension that it also drives, so the dependencies have a clear order.
Assign each result to a driving dimension
- Sketch a centre rectangle for the block with a 42 mm length and a transverse width. Double-click the driving width dimension, type
=and start typingBlockWidth. Select BlockWidth from the flyout and confirm. The expression is="BlockWidth". - Extrude the rectangle to 10 mm. On its top face, sketch a closed rectangle for an 18 mm long slot and constrain it symmetrically about the block's width centreline. Double-click its driving width dimension. Enter
=, pick SlotWidth and confirm. - Cut the slot 4 mm deep, rebuild and inspect the part. The expected outside width is 31 mm and the slot width is 25 mm. The difference is 6 mm, which gives 3 mm per wall because the slot is centred.

The dimension linking procedure starts with the equals sign. If a dimension remains a plain number, reopen Modify and confirm that it contains the variable expression. An equation bound to a driving dimension can change the geometry. A reference dimension reports the geometry you already have.
If you already drew the part and have a value you want to name, create the variable inside Modify. Type = and the new name in double quotes, then accept Create Global Variable. The Equations dialog shows the new variable and the dimension equation. Keep working from that dialog once more than one dimension depends on the same input.
Find where a change stopped
| What you see | What to check |
|---|---|
| The name never appears in Modify | Check the active part or assembly, then type the leading equals sign. Open its Equations dialog to verify the variable name and scope. |
| Evaluates to is right but the part still looks wrong | Check that the intended driving dimension references the result variable. Rebuild, then inspect the feature and its sketch relations. |
| An equation is marked as circular | Trace what supplies each value. If SlotWidth drives the slot dimension, remove any dependency of SlotWidth on that same dimension. Start with independent inputs. |
| The new gap appears in only one configuration | Open the configuration list in the Equations dialog. Inspect the scope of the input and its dimension equations, then check each configuration you intend to edit. |
Automatic Solve Order puts independent equations ahead of those that depend on them. It can help with a chain such as input, slot width, outside width. A circular dependency needs a change to the model's inputs or references.
Check the slot constraints if the widths update and one wall is still thinner. The width expressions reserve 6 mm in total. The sketch's centreline relation splits that distance evenly. Verify both walls in the rebuilt part if that symmetry matters to the fit. If you intended the slot to follow one side of the part, replace the symmetry with the actual offset from that side and check the clearance on the opposite wall.
Decide which configurations or files share the value
To try tight and loose variants in one part, create a second configuration and activate it. In Tools > Equations, use the configuration scope on the value row for SideGap. Enter the second value in that row and choose This Configuration for the edit before accepting. Rebuild both variants and read the two results. Keep the slot and block formulas shared if the same geometry rules apply to both. In an Excel Design Table the $VALUE@SideGap@EQUATIONS column can hold a constant decimal input for each row. Keep the calculated slot and block values under Tools > Equations.

For separate part and assembly files, open the document that owns the driving dimension before deciding where to define its input. When several documents use the same variables, SOLIDWORKS supports exporting and importing equations in a text file. The permanent Link to external file workflow is documented for installations that are independent of the 3DEXPERIENCE platform. Include the linked text file when passing the editable model on. For a receiving project that needs its own independent values, use a one-time import.
To verify the block, change SideGap from 0.5 mm to 1 mm in one intended configuration and rebuild. The slot should grow from 25 to 26 mm and the block from 31 to 32 mm. The wall should still measure 3 mm. If only the slot changes, go back to the block width dimension and check which variable it uses. Confirm the same dimensions on the intended drawing view before passing the part on.



