Skip to main content
1-Visitor
May 10, 2017
Solved

Is there a way to convert Creo versioned parts to non versioned?

  • May 10, 2017
  • 7 replies
  • 6597 views

We have over 40,000 files and would like to convert from versioned to non versione.  Is there a utility out there that will do this?

    Best answer by HamsterNL

    You're getting yourselve into a lot of trouble...

    Be prepared for lost work because some collegue drag and dropped his (out of date) files over your the ones your just modified.

    7 replies

    1-Visitor
    May 10, 2017

    Well, I know that a file manager called FreeCommander can be used to do this:

    freecommander_rename.png

    It's freeware, you can download it at http://freecommander.com/en/downloads/

    2-Explorer
    May 10, 2017

    Hello Greg Kling

    what about show/hide file extensions:

    How to Show File Extensions in Windows 7 - YouTube

    Clear all versions with:

    Spekan Purge 3.3

    Regards

    Milan Bonka

    23-Emerald III
    May 10, 2017

    What is your issue with versioned parts?

    Explain why you feel you need them unversioned parts so we can give you a better answer to your problem.

    I am guessing you are just using a native Windows folder structure to store your parts.
    Are all of your files under 1 top level folder? (P:\PTC_Files)

    Do you use sub-folders to segregate files? (P:\PTC_Files\Library\Fasteners, P:\PTC_Files\Project1, etc)

    Do you use search paths or a search.pro file?

    Do you have a purge utility to purge older versions?

    KenFarley
    21-Topaz II
    May 10, 2017

    In the recent past, we had a very large number of files caused by versioning (sometimes hundreds of version files for one part file). Our server was getting full, just because no one was doing any cleanup after a particular job was done. So, I wrote a DOS batch file to recursively traverse the directory structure and purge out the older versions, using PTC's purge command as the basis. The batch file contents are below, you could copy that text into a file and name it whatever you want (I use "recpurge.bat"). You'll probably have to change the called purge program ("c:\ptc\purge" in the code) to specify where your purge.exe command is.

    Keep in mind that if you have a use for the old versions of files, or are worried about them, this is probably not the solution for you.

    --- [ BEGIN BATCH FILE ] ---

    ::

    :: Date   * 05 January 2016

    :: Author * Kenneth J. Farley

    ::

    :: Recursively traverses the directory structure, starting at the current

    :: directory, and executes a purge and any other commands necessary. The

    :: pseudocode for this is as follows

    ::

    :: (1) Generate a list of directories

    :: (2) For each of the directories

    ::     a. change to that directory, via a "pushd"

    ::     b. Execute the desired commands

    ::     c. change back to the original directory, via "popd"

    ::

    @echo off

    for /r /d %%d in ("*") do call :doPurge "%%d"

    exit /b

    ::

    :: This code is executed for each directory visited. The primary purpose is to

    :: run the "purge" command, but it's also helpful to get rid of any other stray

    :: files that Pro/E creates in the normal course of operation.

    ::

    :: Note: The "2> nul" construct is used to throw away any "file not found" type

    ::       errors generated when the delete command doesn't find the target files

    ::       provided to it.

    ::

    :doPurge

    pushd %1

    echo Processing %1

    c:\ptc\purge

    ::

    :: Windows generated files

    ::

    del /ah Thumbs.db 2> nul

    ::

    :: PTC General files

    ::

    del APS00W07 2> nul

    del current_session.pro 2> nul

    del datafile.ers 2> nul

    del errors.lst.* 2> nul

    del fix_params.log 2> nul

    del *.acc 2> nul

    del *.crc 2> nul

    del *.err.* 2> nul

    del *.idx 2> nul

    del *.log.* 2> nul

    del std.err 2> nul

    del std.out 2> nul

    del trail.txt.* 2> nul

    del *.xpr 2> nul

    del *.tst 2> nul

    ::

    :: PTC Manufacturing files

    ::

    del *.acl 2> nul

    del *.lst 2> nul

    del *.mbx 2> nul

    del *.ncl.* 2> nul

    del *.ncl_a.tab 2> nul

    del *.ncl_b.tab 2> nul

    del *.ncl_c.tab 2> nul

    del *.ncl_x.tab 2> nul

    del *.ncl_y.tab 2> nul

    del *.ncl_z.tab 2> nul

    del *.tap 2> nul

    popd

    exit /b

    --- [ END BATCH FILE ] ---

    gkling1-VisitorAuthor
    1-Visitor
    May 10, 2017

    Thanks all. In a nutshell, the reason is because we have gone from a PLM setup to stand alone.  Our system is very slow so we would like to work locally and then move the local files to our server where the 40K plus files are stored.  The only way we see to do this is to have the master files be not version controlled so when we drag and drop our day or weeks worth of work, that it will simply overwrite the non-creo versioned files.

    HamsterNL
    HamsterNL18-OpalAnswer
    18-Opal
    May 11, 2017

    You're getting yourselve into a lot of trouble...

    Be prepared for lost work because some collegue drag and dropped his (out of date) files over your the ones your just modified.