How to disable "errors were found in the drawing file during open" message

How to disable "errors were found in the drawing file during open" message

Anonymous
Not applicable
4,282 Views
6 Replies
Message 1 of 7

How to disable "errors were found in the drawing file during open" message

Anonymous
Not applicable

I have searched extensively for a solution for this.  I am reading title block contents for thousands of drawings through batch and I am constantly getting "errors were found in the drawing file during open" error message.  I have tried every system variable to silence the message, but nothing works.  I cannot sit and watch the computer for thousands of drawings.  I am using AutoCAD 2015.

 

Does anyone know a solution to this frustrating problem?

 

Thank you

0 Likes
4,283 Views
6 Replies
Replies (6)
Message 2 of 7

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

use command _RECOVER instead of _OPEN, that will not present this message and it cleans your dwg-files.

Simply killing the messagebox would leave your drawings defect, I guess that could not be the goal.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 7

Anonymous
Not applicable

The problem is that I am using AutoSCRIPT, so the open function is built into the utility, so I cannot redefine how the script works.  This annoying error message on open is the only error message that I cannot get by.  There MUST be a way to get around this last error message.

 

Is there ANYTHING I can do?  I have set expert = 5, dwgcheck = 0, proxynotice = 0, etc. etc.  I have turned off every error message I can think of. 

 

This is causing MASSIVE issues for me.

 

Thanks

0 Likes
Message 4 of 7

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> so I cannot redefine how the script works

Then you also can't built in anything that catches and closes that dialog?

So if we find a tool that does it you can't change the script to run that tool?

 

>> This annoying error message

What you mean by annoying is for me "most important" ... you are on the way to lose data, even worse, when you insert some of these drawings into other new projects you might lose that project data too. I can't understand why that can be annoying as that means you might lose a lot of work/a lot of money. Just think about these drawings showing up that message ... how much time would it need to recreate that files?

With other words, if I tell my boss I have ignored a message telling me that I might lose data, I would be fired within seconds.

 

>> There MUST be a way to get around this last error message.

Yes, run command _RECOVER with that files to get them repaired, before you start the script.

You might try to run command _DWGCONVERT and let it fix errors. This is not the best option as you can't see if repairing a dwg-file had erased objects. I'm also not sure if that process shows the "needs recover" dialog, I can't test that currently as I don't have such a file.

 

20181202_090737.png

 

Just found, but not able to test too: sysvar RECOVERYMODE (>>>details<<<) should be a variable that might help.

Some threads here say this works, others say it does not work.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 5 of 7

Anonymous
Not applicable

Thank you for your responses.  Normally I would care if a file is corrupt and needs recovery, but I know from close inspection of these drawings that the error is not graphically related as after open without recovery, the content is identical with or without the recovery.  

And also for my exercise, these files are only a copy of the master files, so i definitely do not want to recover these files.  My job is to only pull info from the files then throw them away.

 

I will try the recoverymode to see if that helps.

 

Thanks again

0 Likes
Message 6 of 7

Anonymous
Not applicable

So I tried setting the recoverymode to 0, and it helped on some, but not all.  strange. 

 

Thanks for your help though.  If you can think of any other ideas, it would be greatly appreciated!

 

Thanks

Jeff

0 Likes
Message 7 of 7

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

you might use Windows messages to write your own program watching the screen for that message box and sending the "OK" button then.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes