Saturday, 9 February 2013

Data Recovery in Pro\Engineeer in Case of system crash... :-(


                              Is there anything more frustrating than losing your work? Have you ever had to work extra hours re-creating models that you have done once already?  This Tip shows how you can recover your Pro/ENGINEER model in the event of a software crash or shutting down a model and erasing from memory having not saved your model. Once Pro/ENGINEER has been shut down it creates a Trail file in the working directory. With a little bit of modification and technical wizardry this file can be used to recover any accidentally lost data.

Firstly you should mange these files properly to make sure they are easily accessible to you.

     
1.       Create a folder in any logical location on your computer called Trail Files.
2.       Open a session of Pro/ENGINEER and go to TOOLS>OPTIONS
3.       Here you can set some config options that will allow you to use the trail files.

Search for trail_dir and browse to the folder you previously created and also addset_trail_single_step and set the value as "yes". Apply these two settings and save to your config.pro file. When this has been done any trail files created will be stored in the folder you created above and they will be able to be used to recover your lost data.

When this has been done any trail files created will be stored in the folder you created and will be used to recover your lost data.

4.   The next step is to locate the trail file you want to use. After each session is shut down. Pro/ENGINEER creates a new file and names that file one increment higher that the last.

To be able to use this file it needs to be renamed using the following conversion. Delete the number after the extension and then rename from “trial” to a name of your choice. In this example we have renamed from trail.txt.19 to recover.txt

Open a new session of Pro/ENGINEER and go to TOOLS>PLAY TRAIL/TRAINING FILE and then browse and open the renamed trail file.

The trail file dialog box comes up. Each time you click STEP the system takes you through each step of your previous Pro/ENGINEER session.

Click STEP until the model is at a stage where you want to save it and then select END. You will then be able to save the model to the current working directory.                                             




Note: Once the trail file has been renamed you can open it up as a text file. 

If the system has crashed or you have shut down the model and erased from memory then you can delete this action from the trail file and select continue. The model will play through its entire creation without having to press step and will stop before you closed the window. You can then save the model.

See image to the for an example of what to delete.

1 comment:

  1. Dear sir can you help me.. M not able to show hidden lines while creating orthographic views from 3D, by default that hidden lines shows in grey .. but i want to show them hidden . so how to do this

    ReplyDelete