Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Recovered drawing "empty" despite 90k objects in database

Anonymous

Recovered drawing "empty" despite 90k objects in database

Anonymous
No aplicable

I have a 4.5MB dwg file which got corrupted.
When I open it AutoCAD says it needs recovery and proceeds, detecting about 90.000 objects (as expected) and stating that "no errors were found".

The drawing, however, does not appear on screen, apart from a few lines and circles.

 

All expected layers are present, visible and unthawed.
All blocks are present as well and if I try to insert one of them it works as expected.
If I totally PURGE the drawing and save it to a new file, this file has nearly the same dimension and, apart from unused ones, it has the same layers and blocks and so on, but still appears empty, while any attempt to AUDIT it detects the same number of objects, with no errors.

 

All my attempts of selecting or exporting those missing objects (big selection windows, copy + paste, WBLOCK...) have failed.
I thought they could have been somehow set to "invisible" and so I tried to catch them with the Lisp command

 

(setq ss (ssget "X" '((60 . 1))) i 0)

 

but I ended up with an empty list.
I also tried all the various workarounds suggested by Knowledge Base for corrupt files.
After those, any further use of the AUDIT command detects all the objects and the file size, after saving, remains the same.

So those objects ARE there but (as far as my skills can reach) can't be seen nor selected.

Any ideas or suggestions from more skilled users? :]

0 Me gusta
Responder
904 Vistas
12 Respuestas
Respuestas (12)

imadHabash
Mentor
Mentor

Hi and Welcome to AutoCAD Forum,

 

it seems that you've done the home work ... still checking your Bak files or autosave ones also files in your Temp folder. i'm glad to check your file if you attache it here.

 

Regards,

Imad Habash

EESignature

0 Me gusta

cadffm
Consultant
Consultant
Upload file and we will see, or if too personal pm an mail

Sebastian

0 Me gusta

martti.halminen
Collaborator
Collaborator

A few simple ideas:

 

- what do you get with (ssget "X")

 

- check the coordinates: if you have a misplaced item a thousand kilometers away, Zoom Extents will cause everything to be scaled out of visibility.

 

-- 

 

0 Me gusta

pendean
Community Legend
Community Legend
So the concept of "emptying" an existing dwg file to get a new file is, well, odd to say the least. Why the exercise in the first place? I'm curious.

How to fix files if that was your intent https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/AutoCA...

Otherwise post your DWG file, let's all have a look for ourselves.
0 Me gusta

Anonymous
No aplicable


Coordinates already checked. Unsuccessfully, I'm afraid. :]

 

As to the (ssget "X"), I get an answer like this:

 

<Selection set: 1b2>

 

I noticed that if I immediately issue the command a few more times I get different answers, somehow "incremental":

 

<Selection set: 1b4>

<Selection set: 1b6>

<Selection set: 1b8>

<Selection set: 1ba>

. . .

 

 

Moreover, if I close (without saving) and reopen the drawing the answers do not start with the same value.
Does that make any sense?

 

0 Me gusta

Anonymous
No aplicable

I'm not trying to get a new file by emptying an old one.


I'm trying to... resurrect the objects in a file that looks empty but, according to what the AUDIT command reports, is not empty at all.

0 Me gusta

Anonymous
No aplicable

I also noticed that DXFOUT generates a quite huge file (about 12MB).
I tried to analyze it and I found out it contains all layers and block definitions and also all the block definitions and references (inserted blocks), each with its insertion point, scale factors and so on.


However, while I can "open" and edit and save blocks with the block editor and I can also create new block references by inserting those blocks, none of the "old" inserted blocks, the ones registered in the DXF file, show up in the drawing.

0 Me gusta

dgorsman
Consultant
Consultant

Annotative scaling may be hiding annotative blocks.  Might try ATTDISP setting as ON (usually as NORMAL, switch it back after).

 

FYI, the "incrementing number" for generating selection sets is nothing; it's just a sequentially generated ID.  You would assign the result to a LISP variable for walking through with (ssname ...), or perhaps counting with (sslength ...).  You might wrapping that (ssget ...) test call in the latter and see how many objects are actually in the drawing.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Me gusta

pendean
Community Legend
Community Legend
Post your DWG file.
0 Me gusta

Anonymous
No aplicable

Further searches in the DXF file made me conclude that almost certainly all the objects found and checked by the AUDIT command are actually included in block definitions (which are quite a lot).

 

So I'm afraid the actual "drawing" is definitely lost. :[


I wish to thank you all, anyway, for your help.

0 Me gusta

Anonymous
No aplicable

Hi, previously i have experienced in 2011 while i was working on this 30 residential civil layout  which full with telecom and internet system. thus it was very last minute project that me and my project executive need to hand up in next day. the file cant open and i tried to recover it  but it cant because the are alot item are not there, that day was disaster for the both of us. the last i did was i search for the back up file for that layout(DWG) and convert it in to drawing file. <<file name.bak file>> change into <<file name.dwg file>> thank god it work and got my layout back.

 

i am not sure if your case is same as mine. this might be last resort of trying.

0 Me gusta

cadffm
Consultant
Consultant

I do not know your level of knowledge, it reads very well, but your account is new and therefore I can not tell from old postings where you stand.

If you already accept the loss, ok. (the best solution is to take a backup-copy anyway)
If you still want to try others make your file available.
If the file is too private, maybe also email to <user of choice>
(Corrupt DWG and a file for comparison so we know what it should look like, a similar DWG or PDF)

Sebastian

0 Me gusta