Skip to main content
1-Visitor
June 8, 2016
Question

Delete latest iterations/versions of file to leave it as a "base" part (xx.prt not xx.prt.2)

  • June 8, 2016
  • 3 replies
  • 2519 views

I am trying to troubleshoot an issue I am having with my PDM system and I just want to eliminate this as a soruce of error. I'd like to just keep the base part nomenclature (xxx.prt) and remove all the iteration numbers at the end. I know running purge will delete older iterations (leaving me with xxx.prt.5 but not xxx.prt) however in this case I want to do the reverse. Is there any good way to do this?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

3 replies

23-Emerald III
June 8, 2016

There is no "command" that will do this. Depending on the situation, what I have done in the past was, using windows file manager, sort by date and delete everything past a certain time.  Obviously, this may or may not be your case.

24-Ruby III
June 9, 2016
24-Ruby III
June 14, 2016

Addition - Genius Tools Purge functionality:

Before purge:

  • a.prt
  • a.prt.2
  • a.prt.3

Purge

  • removes a.prt and a.prt.2
  • renames a.prt.3 to a.prt

After purge:

  • a.prt

MH

23-Emerald III
June 13, 2016

The problem with doing what you want is you will lose the latest changes which are in the xxx.prt.5.

You need to purge the older iterations and then rename the latest iteration to be just xxx.prt.