Skip to main content
1-Visitor
October 24, 2012
Question

How to clear the audit trail history on the model.

  • October 24, 2012
  • 6 replies
  • 18989 views

Dear All,

May I know how to clear the Audit trail history from the model?

Thanks,

Hari

    6 replies

    17-Peridot
    November 20, 2012

    If you are refering to the trail files, I recommend a setting in config.pro for placing trail files in a particular folder. That way you can easily delete the content of the entire folder.

    trail_dir <drive and full path name>

    example: trail_dir C:\PTC_trailfiles\

    If you are refering to the history maintained in parts and assemblies, I do not know if we have access to that.

    1-Visitor
    November 21, 2012

    Thanks Antonius!

    I am on same way as you have mentioned , so that we can setting up up config .pro on each time and set the start up directory on the same folder.

    here , I am facing a problem to delete the model history. (Info---> audit trial) . I am sorry to mentioned that I am using WF-4.

    Thanks!

    Best Regards,

    Hari

    17-Peridot
    November 21, 2012

    Thank you. Now that I am aware of this, it is indeed annoying. I see no options in Creo 2.0.

    Looking forward to learning how to cleanse these files, particularly for template parts and save-as parts.

    13-Aquamarine
    November 21, 2012

    Hi guys...

    Sorry I haven't been around. The audit trail is a very old tool that most people don't know about. It knows all... and blabs it all, too! There's no way to wipe out the Audit Trail of a Pro/E file through any normal means. What I mean is... there's no button or simple function to 'cleanse' your part.

    To me, this is a good thing. I've gone to numerous companies and ran an audit trail on their hardware library or their start part. Usually I can find a few names in the audit trail I recognize. You can see who ripped off other companies for their library parts. You can also see how some expert users hopped from company to company bringing their start parts along with them.

    Anyway, let me get to your question.

    When you start a file from a start part, all you're really doing is making a copy of an existing part and then opening the copy for modification. As expected, this keeps the audit trail going. If you start a brand new part with no template (literally a blank part), your audit trail will be clean.

    Most people don't even remember how they went about setting up their first template part. Way back when, we didn't have "start parts" and some people would just run a mapkey to set up views, add default datums, and load blank parameters. That old school knowledge is gone for the most part but you can use it to erase the audit trail.

    Open a new part without using a template. You'll have a clean part. From here you create default datums and add parameters. You can also create your initial views. Save this new object as your new template (so all future parts will start out clean without a long audit trail history). If you have an existing object you want to cleanse, you can create a new part using your new, clean template and use Edit->Feature Operations->Copy->From DifModel or FromDifVersion to pull in all of the features of the existing part.

    With a few mouse clicks, it's possible to migrate all of your features from your existing "dirty" part to a brand new "clean" one thus eliminating the audit trail.

    In Wildfire 5 and up, the audit trail has changed to the File History command which has additional features. If I'm not mistaken, I stumbled upon some way in either Wildfire 5 or Creo to quickly wipe out the file history... maybe using a copy through Windchill? I'm not sure right now... but given that you're on WF4 it probably doesn't matter just yet.

    I realize this is short on details. Write back if you get stuck or if you need help. I've been intolerably busy lately but I'm almost ready to wind down for Thanksgiving. At least I have a one-day reprieve!!

    Take care...

    -Brian

    17-Peridot
    November 21, 2012

    Brian, as always... YOU ROCK! I will have to try some of these things. My biggest problem with seed parts has been creating -real- ISO views and needing to create geometry to do it. If only we could import view orientations Maybe your method will do this.

    I do see however from your discussion that there is a negative to all this history, specially if you are not aware of it. For us contract engineers, of course we use start parts to prepare for other clients. One could incidently give away what may otherwise be contrued as "proprietary". Definitely something to keep in mind.

    Even though you are busy, which isn't neccesarily a bad thing, I am very glad you could provide us with your insight on the subject. Happy Holidays!

    17-Peridot
    January 22, 2013

    Something seemed to have happened in Creo 2.0 M030. The only history I see in the model is save events. No more history for feature operations and no more viewing options. Anyone else having the "new" behavior?

    Someone please post an image of the older screen that shows all operations and buttons so I can report this...

    tools/investigate/file history

    Thanks

    1-Visitor
    January 23, 2013

    In Creo 2.0 M020 it seems to work. See the attachment.

    I didn't bother switching to M030 yet.

    17-Peridot
    January 23, 2013

    Thanks Jakub. I will report this.

    1-Visitor
    February 21, 2013

    A simple but hack way of doing what you want is describerd here:

    http://www.proetoolbox.co.uk/4_ProE_Hacks/audit_trail/audit_trail_hacking.html

    17-Peridot
    February 21, 2013

    Thanks Dan!

    17-Peridot
    May 28, 2013

    I know this is an old thread but an update is warranted...

    Today I received an update on my case about the missing file history and not what I expected.

    According to CS, the way file history works today is what it was meant to do. Very simple saved, saved as, etc data and not the detailed data you saw in Creo 2.0 M020. Bummer!

    For anyone keeping track of CS response time, this is a -fail-, 3 months and 2 updates before they could answer this simple question. And the answer isn't what I expected. Seems detailed file history is not as important to PTC users as it is in every other CAD package in the world.

    17-Peridot
    June 12, 2014

    hidden config option:

    purge_history_on_save_copy set to yes

    Save your model as...

    The new model will not have the purge history

    overwrite your old one with the new one.

    This may cause some issues, but at least you don't have the history.

    17-Peridot
    June 12, 2014

    Nice! When was this added?

    17-Peridot
    June 12, 2014

    based on google's limited results on the option, I'm thinking Wildfire 5.

    https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=purge_history_on_save_copy

    October 5, 2016

    Hi

    Is there any option to clear to message log ?

    Regards

    1-Visitor
    July 31, 2017

    no..There is an option to save as and select but we can not clear message log