What's wrong with this drawing?

What's wrong with this drawing?

soonhui
Advisor Advisor
1,160 Views
12 Replies
Message 1 of 13

What's wrong with this drawing?

soonhui
Advisor
Advisor

When I open this file, it says that there are some errors in it and ask me to fix it/audit it. 

 

Even though I can open it and can Zoom Extent, but when I save it to another DWG file, the saved file will appear blank. Maybe there is something wrong with the file, but can anyone point out what is it? I need to ask the file producer ( it's a third party library) to fix it. 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Accepted solutions (1)
1,161 Views
12 Replies
Replies (12)
Message 2 of 13

j.palmeL29YX
Mentor
Mentor

Didn't you recover the file as suggested in the error message? 

I did it and get the attached result. But while the repairing one object (obviously the error causing) was deleted. I don't know what is missing now. You should ask the sender to compare the both files. 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 13

pendean
Community Legend
Community Legend
0 Likes
Message 4 of 13

soonhui
Advisor
Advisor

@pendean , @j.palmeL29YX ,

 

I can recover the drawing by running the RECOVER command, which deletes a bad entity from the drawing, just like what you wrote.

 

But, how can I know what the bad entity is? I need to find it out, so that I can prevent it from going into the drawing in the first place. Is there a command to list out the deleted entities during RECOVER command?

 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Message 5 of 13

j.palmeL29YX
Mentor
Mentor

@soonhui wrote:

 

But, how can I know what the bad entity is? 

 


As I suggested above: send your file to the author and ask him what is missing. He should compare your file with his original. 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 6 of 13

soonhui
Advisor
Advisor

The drawing producer asks me to check the log file resulted from the Recover command, but when I check the log file ( that is indicated by the logfilename command), the log isn't there.

 

Where else could the log file be located?

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Message 7 of 13

cadffm
Consultant
Consultant

Where? -> LOGFILEPATH -> LOGFILENAME

LOGFILEON (logfileoff)

 

But you don't need that! Open the file by RECOVER and press [F2], copy the content -> that is the same.

 

 

The problem detected for a MESH object, producer should check his original file: Are there 81 Meshes or 82 ?

If just 81, i am pretty sure he can not find a different.

 

Sebastian

0 Likes
Message 8 of 13

soonhui
Advisor
Advisor

@cadffm ,

 

I can now get the error log as per your help, thanks!

 

But the error shown in the log file is different than what you post. It's  "Error 6 (eOutOfMemory) "

 

[ AutoCAD - Tue Mar 08 17:20:40 2022 ]----------------------------------------
Drawing recovery.
Drawing recovery log.


Validating objects in the handle table.
Valid objects 3008 Invalid objects 0
Validating objects completed.

Salvaged database from drawing.

 

Reading handle F4 object type AcDbSubDMesh
Error 6 (eOutOfMemory) Object discarded

Auditing Header

Auditing Tables

Auditing Entities Pass 1

Pass 1 2900 objects audited
Auditing Entities Pass 2

Pass 2 2900 objects audited
Auditing Blocks

4 Blocks audited

 

Auditing AcDsRecords

Total errors found 0 fixed 0

Erased 1 objects


Opening an AutoCAD 2007/LT 2007 format file.

 

The AutoCAD program seems to be "out of memory". But as I check, my machine still has plenty of memory. I also don't think such a small file can cause AutoCAD to run out of memory.

 

So now I no longer has any idea what it means. And I doubt with that kind of error message, the drawing provider is able to fix the error. Is this also the error that you reproduce on your side?

 

Could it be a bug on AutoCAD program? Some how the program just throw an out of memory exception when it really shouldn't.

 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Message 9 of 13

cadffm
Consultant
Consultant

 

>>"But the error shown in the log file is different than what you post."

1. I didn't post an error message.

2. It is exaclty what I wrote (because I just translated the important part of the log for you)

    in the end AutoCAD talk about to delete one object (doesn't matter why)

--> object type AcDbSubDMesh = MESH
--> Object discarded
--> Erased 1 objects

 

 

>>"The AutoCAD program seems to be "out of memory".

No, that is another limit, not your RAM.

It's more like anything like "to large, to small to far away ...  objects, or something like that.

 

>>"And I doubt with that kind of error message, the drawing provider is able to fix the error."

Perhapsd not able to fix, but able to find the issue and/or able to compare your recovered file with the original.

 

>>"Is this also the error that you reproduce on your side?"

Sure, the problem is the data in this file, the file is the same for all of us (so long we use the same software we will get the same error)

 

>>"Could it be a bug on AutoCAD program?"

You can ask it again if you know the problem, impossible to know before you know the problem 😉

 

 

 

Sebastian

0 Likes
Message 10 of 13

soonhui
Advisor
Advisor
Accepted solution

My drawing provider said that there is a 0 vertex mesh in the drawing. Indeed, removing that entity solves the issue. 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Message 11 of 13

cadffm
Consultant
Consultant

> @soonhui wrote:
> 0 vertex mesh in the drawing.

Sounds illogical, invalid,

so the error on AutoCAD side was correct  and also the way of recovery function to fix it automatically (delete the object).

 

👍

Sebastian

0 Likes
Message 12 of 13

soonhui
Advisor
Advisor

I wonder why AutoCAD can't just display a more intuitive error ( instead of out of memory)? That will help us to fix the drawing better. 

##########

Ngu Soon Hui

##########

I'm the Benevolent Dictator for Life for MiTS Software. Read more here


I also setup Civil WHIZ in order to share what I learnt about Civil 3D
0 Likes
Message 13 of 13

cadffm
Consultant
Consultant

1. You can not set up alerts for all cases

2. The message is displaying which object is in question! (Reading handle F4)

 

But you never said what program the producer using,

so it isn't possible to give you the best support.

 

If this program works with DWG as native format and you are able to search an object by the handle in this *unknown* software,

open the file and search for the object with handle: F4

 

 

Sebastian

0 Likes