Direct answer: troubleshoot SOLIDWORKS assembly mates by identifying the affected configuration and components, reading the actual mate error, isolating the conflicting or missing relationship, and repairing one cause at a time. Rebuild and check the intended motion afterward. A visually correct position alone does not show that the assembly is constrained as intended.
This walkthrough is for a mechanical engineer practicing on a copy of a small assembly. Preserve the original file and its referenced components before experimenting.
Find your symptom: movement, error or missing reference; then follow the shaft-and-bracket exercise.
Is it an error, unwanted movement or a lost reference?
| Symptom | Check before changing a mate |
|---|---|
| The part moves with no mate error | Identify the remaining translation or rotation and compare it with the intended mechanism. |
| An error appears after adding a mate | Inspect the last mate’s references and the relationships already controlling that position. |
| A reference is missing after replacing a component | Find the intended replacement face, plane or axis; the old selection may no longer exist. |
| The problem appears in only one configuration | Check that configuration’s component states and mate suppression before altering the shared geometry. |
Step 1: record the state before changing anything
Write down the assembly and configuration, component references, suppression state and the last change before the problem appeared. Identify whether the issue is unwanted motion, an unresolved error, a missing reference or a relationship that prevents intended motion. These are different problems.
A component can be fixed, constrained by mates, or positioned through a larger hierarchy. Inspect that context before adding another mate. More constraints do not automatically produce a better assembly.
Step 2: inspect the actual failing relationship
For unresolved mate errors, the official MateXpert workflow opens diagnostics through Tools → Evaluate → MateXpert or the relevant context menu. Diagnose the problem, inspect the implicated subset, and examine the unsatisfied mate’s selected geometry.
MateXpert analyzes one Mates folder at a time. If the problem is inside a subassembly, inspect that subassembly’s folder separately. An unavailable MateXpert command is not proof that the design meets its intended constraints.
Step 3: diagnose a shaft that should rotate but not slide
Use a synthetic two-component assembly: a fixed bracket with a cylindrical bore and a floating shaft. Assume the selected faces are compatible, there are no other mates, and concentric rotation is not locked. The intended result is rotation about the shaft axis with no axial sliding.
- Concentric only: align the shaft and bore axes. Expect axial sliding and rotation to remain.
- Add axial location: make the intended locating faces coincident. Expect axial sliding to stop while rotation remains.
- Introduce a conflict in the practice copy: attempt a 5 mm distance between those same locating faces. It conflicts with the zero separation already required. The solver may reject the new relationship or show a mate error.
Record what your installed release displays; the observations above are expected outcomes for the stated example, not a published execution log. The official degrees-of-freedom explanation describes the concentric-plus-axial-location relationship.
Now diagnose the conflict:
- Check that the selected cylindrical and locating surfaces are the intended ones.
- Inspect whether an additional distance relationship contradicts the axial location already specified.
- In the disposable copy, suppress only the suspected conflicting relationship and rebuild.
- Observe whether the error disappears and whether the intended rotational freedom remains.
- Repair or remove the redundant relationship only after understanding its design purpose.
This example teaches a diagnostic sequence; it is not a universal mate prescription for every shaft or bearing arrangement. A different mechanical requirement may need different relationships.
Check the repaired result
For this practice requirement, keep one consistent axial location. With the contradictory distance removed or corrected, verify that the shaft cannot slide and can still rotate. If it cannot rotate, inspect Lock Rotation, fixed state and other angular constraints. The correct result follows the intended motion, not a goal of removing every possible degree of freedom.
Step 4: repair the relevant cause
- Missing reference: inspect whether an edited or replaced component removed the selected geometry. Re-select the intended reference or use the appropriate replacement workflow.
- Alignment problem: check which direction the relationship requires before toggling alignment.
- Conflicting constraints: identify the incompatible requirements rather than suppressing the entire mate folder.
- Unexpected movement: compare remaining movement with the design’s intended degrees of freedom. Some movement can be intentional.
- Wrong configuration: verify component configurations and configuration-specific suppression before changing geometry.
Step 5: make the repair repeatable
Rebuild, inspect errors, exercise the intended movement, save the test result and reopen it. Compare the realized relationships and component identities with your requirement. Keep a before/after note naming the mate, selected references, change and observed result.
If the same parts are inserted repeatedly, SOLIDWORKS mate references can support repeatable insertion. They still require compatible names, entity counts and corresponding mate types; a reusable reference does not replace an engineering check.
Why this matters for automation
An automated system needs the same distinction between requested relationships and relationships actually created in CAD. A successful API call, a saved file and a clean geometric picture are different observations. Read how AI-created mates are verified and the native-CAD proof chain.
Continue with the first read-only API macro and BOM part-number/configuration tutorial.
Check the component geometry first
If the component itself changes unexpectedly, try the sketch-constraint exercise. If the geometry came from a supplier STEP file, use the import-diagnostics tutorial before treating an unusable face or incorrect unit scale as a mate problem.
Scope: reviewed against official documentation on 17 September 2026; this exercise was not executed in SOLIDWORKS for this publication. Absence of mate errors does not by itself prove fit, strength, collision clearance, manufacturability or production readiness.
MST Engineering Intelligence. “How to Troubleshoot SOLIDWORKS Assembly Mates.” MST Engineering Intelligence. Updated 2026-09-17. https://mst-us.ai/solidworks-assembly-mates-troubleshooting/
CUSTOMERS · PARTNERS · INVESTORS
Talk to the engineering team.
Bring a non-confidential P&ID question, pilot boundary or technical diligence request. Protected engineering material is exchanged only after identity, NDA and scope review.
Operated by MOORE SOLUTION TECHNOLOGY PTE. LTD. · Singapore UEN 202315239E