How to make a part rotate or slide within an assembly in SolidWorks?

Short Answer

Yes — in SolidWorks, you can make a part rotate or slide within an assembly by applying the correct mates, then using Move Component to drag the part along its allowed degrees of freedom. The most common professional method is to leave one rotation or translation unconstrained. Limitation: fully defined mates will block motion.

What You Need to Know Before

Warning: If you accidentally over-constrain the component with extra mates, SolidWorks will lock all movement even though the assembly looks correct. Also, collisions are not checked unless collision options are enabled during movement.

How to Make a Part Rotate or Slide Within an Assembly

  • Command: Move Component

  • Shortcut: No default keyboard shortcut

  • Quick Steps:

    1. In the Assembly tab CommandManager, create the right mates first using Mate so one degree of freedom stays open, such as a concentric mate for rotation or a slot/linear setup for sliding.
    2. Go to Assembly tab > Move Component, then click and drag the part in the graphics area.
    3. In the Move Component PropertyManager, enable collision detection or Physical Dynamics if needed to test realistic motion and interference while the part rotates or slides.

Variables & Settings

  • Key Setting: Lock Rotation

    When applying or editing a Concentric Mate, the Lock Rotation option controls whether the concentric part can still spin around its axis. Leave Lock Rotation unchecked if you want rotation; enable it if the part should only stay aligned without spinning.

Why it Fails

  • Cause 1 (Geometry): The mate combination removes all remaining degrees of freedom, such as adding a distance or coincident mate that stops the intended slide or rotation.
  • Cause 2 (layers/Locks): The component is Fixed instead of Float, so dragging with Move Component does nothing.
  • Cause 3 (Command/Logic): Lock Rotation is enabled on a concentric mate, or mate limits were applied in a way that blocks the expected travel.

Quick Fix & Best Practice

  • Quick Fix: Right-click the part in the FeatureManager, choose Float if it is fixed, then edit the relevant mates and clear Lock Rotation or remove the mate that over-defines motion.
  • Manager’s Verdict: Use standard mates with one intentional degree of freedom for most assemblies; avoid free-drag motion without mate control in production models because it creates unstable behavior and poor design intent.

FAQ

Can I limit how far a part slides in SolidWorks?

Yes, use a limit distance Mate to define minimum and maximum travel.

Can I make a part rotate only to a certain angle?

Yes, apply a Limit Angle Mate between the rotating components.

Why can’t I drag a component even though it should move?

It is usually fixed, over-mated, or constrained by a mate option like Lock Rotation.

.