₹0.00
0

How to Roll Back a File to an Earlier Version in SOLIDWORKS PDM

Return a checked-in SOLIDWORKS PDM file to an earlier version, with a preview first. Pick a version, a date or a revision.
How to Roll Back a File to an Earlier Version in SOLIDWORKS PDM
Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.

Someone checked in the wrong model, or a migration created versions you do not want. SOLIDWORKS PDM’s Rollback removes the versions after a chosen point. PDMShell’s rollback command adds a safety net: it shows you exactly what will happen before it changes anything.

Preview first

rollback -filePath "Part.sldprt" -previous

ROLLBACK PREVIEW - no changes were made
Current version: 18
Rollback target: 17
Versions permanently deleted: 18-18
Parent references: redirect to the retained version

When the preview looks right, add -confirm to perform the rollback.

Choose your target

  • -version keeps an exact earlier version.
  • -previous keeps the version just before the current one.
  • -before keeps the newest version created before a date and time, for example 2026-07-01.
  • -revision keeps the newest earlier version with that revision name.

Parent references are redirected to the retained version by default. Add a comment with -comment.

Before you run it

  • Rollback permanently deletes every version after the target, including its data card values. It cannot be undone without restoring the vault from backup.
  • It needs PDMShell Premium, SOLIDWORKS PDM Professional 2017 or newer, a checked-in file and the Rollback permission.
  • The target version must not be cold-stored.

Try it on your own vault

Start a free 7-day trial of PDMShell, see plans and pricing, or read the rollback reference. Questions? Book a short call with our team.

Need this adapted to your workflow?

We build custom SOLIDWORKS macros, add-ins and PDM automation.

Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.

Leave a Comment

0
0
Your Cart
Your cart is emptyReturn to Shop