Batch DWG Error Coding

Batch DWG Error Coding

Anonymous
Not applicable
1,006 Views
20 Replies
Message 1 of 21

Batch DWG Error Coding

Anonymous
Not applicable
I have placed a .doc file in customer files that has the same topic name as this one The .doc file contains a snippet of code that I have been using for almost 2 years for batch processing idws out to dwgs. I recently had to resurrect it and update it to create dwgs for a customer. When I load the que with files it will process the first file without issue, but every subsequent file afterwards would hand up on the dwgAddIn.SaveCopyAs line in the code. When I placed a err.description line in there the immediate window said that it was a "Catastrophic Failure". Then I placed an On Error Resume Next line above it it continued to run but after saving the dwg a DBXbridge.exe error appeared on the screen telling me that there was a memory address error. Very strange...but the program continued to run and create all the dwgs. But for every dwg that it created there was an error message for it. Is there something in R7 that I need to add now? I don't know. Any advice is helpful. Mike
0 Likes
1,007 Views
20 Replies
Replies (20)
Message 21 of 21

arrakisman
Enthusiast
Enthusiast
1. Not with what is now my test IDW / IPT.
2. Nope. no prompt all.
3. I have let the IDW sit for a 1/2 at times. still doing it.
4. Sometime(Desktop at least) , but not acessing those files.

As far as the export code goes, what I submitted above is what is used. It is only passedt a Directoy and a File name to export to. What I might be able to do is strip out all the company sensitive data out of the model and drawing and send it to you tommorrow.

Thanks for the help

Ed

(I know how what what you mean about having a problem eat at you till its solved)
0 Likes