how to restore a dgn file?

Status
Not open for further replies.

seb

Usenet Archive
Joined
Aug 30, 2001
Messages
13
Reaction score
0
hi,
Microstation exiting with error 0005... and when i want to reopen my file, there are nothing in the dgn. Is it possible to restore my work?
How?

Regards
Seb
 
Seb,
I assume you got a error message something like "Unable to find end of design file, reset end of design" and you said yes. If so try this (Experienced EDG users - Please do not jump at me and tell me there is a easier way or I am to long winded it may cause confusion). First of all make a backup of your file, then copy your file to your EDG directory (I assume it was installed). go to a dos prompt and change to your EDG directory. Type edg <filename.dgn>. Dont panic here you are now like a person who is operating on their best friend via instructions from a doctor on the phone "Trust me". at the edg> prompt type set search/all and enter. Next type find end and enter. Next type show size and enter. At this stage you should get a set of numbers come up, there will be End-of-File, End-of-Design and Current-elem. After each of these there will be a number, the important number to look for here is the one after the End-of-design number. this is the amount of elements after your end of file marker. This is preferable to be 0 but it should be a low number i.e. 1-300. if it is a large number, this is where all your info is. Now type in undemarcate and enter, this will remove your end of file marker. Now type find end and enter, then type show size and enter. This time that second set of numbers should be smaller. At this point I then type in demarcate to reset the end of file marker. Go through this process several times until you are satisfied that the second number is not getting any smaller. Then type exit and now try to open your file hopefully all of your info is back. You will probably receive other e-mail telling you of other ways to achieve this same result and other ways to repair your files. This is one method, that I am comfortable with and I know works for me about 80% of the time. If you are using V8 disregard all of the above and start drawing again, it does not have EDG. also you will now probably receive a flood of Email from Axiom about "FileFixer". Its a good thing you are like the rest of us and regularly back up your files every 30 min or so !!!!!!!!!!!!!

I hope this helps you some

Graeme Cockram

seb wrote:

hi,
Microstation exiting with error 0005... and when i want to reopen my file, there are nothing in the dgn. Is it possible to restore my work?
How?

Regards
Seb
 
Sometimes, if you are unable to open file (uStn crashes, etc), you can reference that file to empty drawing without any problem. Strange, but works. You may also try to open that file with different versions of uStn.

Tanel

"seb" wrote:
hi,
Microstation exiting with error 0005... and when i want to reopen my file, there are nothing in the dgn. Is it possible to restore my work?
How?

Regards
Seb
 
Status
Not open for further replies.

Latest threads

Back
Top