VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Suppress "Error found during open" message ?

14 REPLIES 14
Reply
Message 1 of 15
Anonymous
1388 Views, 14 Replies

Suppress "Error found during open" message ?

Can someone PLEASE tell me how to suppress this message when I open a drawing:

"Warning: One error was found during open. We recommend that you cancel this open and run RECOVER on the drawing. Would you like to cancel this open?"

I don't want it to cancel I just want it to open always...Thanks for any help.
14 REPLIES 14
Message 2 of 15
Anonymous
in reply to: Anonymous

So you would rather work with corrupted drawings? Far better to fix the
drawings, don't you think?

--
R. Robert Bell


wrote in message news:4978376@discussion.autodesk.com...
Can someone PLEASE tell me how to suppress this message when I open a
drawing:

"Warning: One error was found during open. We recommend that you cancel this
open and run RECOVER on the drawing. Would you like to cancel this open?"

I don't want it to cancel I just want it to open always...Thanks for any
help.
Message 3 of 15
Anonymous
in reply to: Anonymous

Not from my standpoint. I am a programmer and could careless. The drawing still opens just fine and my application do it's thing regardless of the error.
Since my application will be processing thousands of drawings, I really don't want to sit here and watch it in case an error comes up.
Message 4 of 15
Anonymous
in reply to: Anonymous

What happens with DBX?? Would it throw a wobbly and crash or could you open
it, audit the file, THEN have your app do it thing?

Just thinking out loud (which is probably not the wisest thing to do).

--
Matt W
"Being a Red Sox fan is like being a 120-pound man in a maximum security
prison."
Message 5 of 15
Anonymous
in reply to: Anonymous

If there is someting wrong with the drawing file, it
needs to be fixed.

One error can cause more errors that can ultimately
lead to the file becoming corrupt to the point where
it is completely unusable and cannot be opened at all.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4978693@discussion.autodesk.com...
Not from my standpoint. I am a programmer and could careless. The drawing still opens just fine and my application do it's thing regardless of the error.
Since my application will be processing thousands of drawings, I really don't want to sit here and watch it in case an error comes up.
Message 6 of 15
Anonymous
in reply to: Anonymous

The solution to processing a batch of files where there are problems, is to
log the files that have problems and then move on. What you do with the log,
depends upon your application. You should notify the user a least.

--
----
Ed
----
Message 7 of 15
Anonymous
in reply to: Anonymous

johnwemerson wrote:
> I am a programmer and could careless.

If you *could* care less, why wouldn't you?
:-)

--
R.K. McSwain
http://rkmcswain.blogspot.com
Message 8 of 15
Anonymous
in reply to: Anonymous

No doubt that's good advice, but seems to me the OP
was not hired to do the fixing, so the next best thing
to do is to create a log file with the errors, as Ed pointed out.
--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica


"Tony Tanzillo" wrote in message
news:4978957@discussion.autodesk.com...
If there is someting wrong with the drawing file, it
needs to be fixed.

One error can cause more errors that can ultimately
lead to the file becoming corrupt to the point where
it is completely unusable and cannot be opened at all.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4978693@discussion.autodesk.com...
Not from my standpoint. I am a programmer and could careless. The drawing
still opens just fine and my application do it's thing regardless of the
error.
Since my application will be processing thousands of drawings, I really
don't want to sit here and watch it in case an error comes up.
Message 9 of 15
Anonymous
in reply to: Anonymous

Does setting the "expert" system variable to 5
make any difference ??

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica


wrote in message news:4978376@discussion.autodesk.com...
Can someone PLEASE tell me how to suppress this message when I open a
drawing:

"Warning: One error was found during open. We recommend that you cancel this
open and run RECOVER on the drawing. Would you like to cancel this open?"

I don't want it to cancel I just want it to open always...Thanks for any
help.
Message 10 of 15
Anonymous
in reply to: Anonymous

No, I tried that. Doesn't do a thing.

My work around is to use the user32 library, move the cursor over to the dialog and tell it to click once on "No". It can now run unattended until the task is complete.
Message 11 of 15
Anonymous
in reply to: Anonymous

Yes, I do keep a llog...
Message 12 of 15
wm_carr
in reply to: Anonymous

I have the same issue. I am running a batch process on multiple files but the process hangs up on drawings that have errors. I would like the opportunity to handle the error within my application by either skipping the file or running the recover process as part of my process. Can someone please tell me where to look?

Thanks.
Message 13 of 15
jeppe_99
in reply to: Anonymous

You could use PTFB to push the button.
I'm having the same problem, processing thousands of drawings, and don't want to sit and wait for the dialog to com up. I was considering to RECOVER all the drawings to get rid of the problem but the Recover came up with a dialog also!

Any one solved these problems?
Message 14 of 15
VeronicaSmith5891
in reply to: Anonymous

I have the same problem opening some AutoCAD Mechanical drawings.  I have not figuired out how to solve this either.  I always do a PURGE after recover and save but then one day out of the blue it comes back.  I have noticed a consistancy with them though.  The only drawings out all my drawings that do this are ones that have blocks in them that were downloaded originally from the Allen Bradley/Rockwell website.  I don't know what anyone can make of that but since its consistant maybe its one of those blocks.  Everything else in the drawing I drew up myself.  And those blocks are not straight from their website.  I download, open them up and explode them so I can change them to the layer that we use for our blocks.  Then I reblock them and put them in our Library. 

Message 15 of 15

I posted some code a while back that may help

http://forums.autodesk.com/t5/AutoCAD-MEP/MEP-2009-open-drawing-recover/m-p/2233374#M20978

 

 

---------------------------



(defun botsbuildbots() (botsbuildbots))

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost