New Member
Posts: 1
Registered: ‎09-26-2006
Message 1 of 1 (110 Views)

.Net, ObjectDBX and corrupt drawing

110 Views, 0 Replies
09-26-2006 01:58 AM

I am currently busy with my graduation project, which includes some piece of batch-processing autocad drawings. The current code opens drawings with a RECOVER command in SingeDocumentMode, this because drawings sometimes corrupt and so to keep the proces with a maximum continuity. Now, a corrupt drawing gets repaired or, with a fatal error (or the like), the drawing is copied to a special folder for manual processing.

As I recently learned about ObjectDBX and the IAxDbDocument interface I am thinking of using ObjectDBX for my batchprocessing. This leaves me with a few questions, I was hoping for some answers or leads in the right direction:

- I notice (some) corrupt drawings get read by ObjectDBX, is there any way to discover if a drawing is (partially) corrupt?
- With the Open command, Exceptions might be thrown. Is there a some documentation about the ErrorCode in the COMException?

Some info: Batch processing consists of fetching all AcadBlockReference and AcadText objects. The application is written in VB.NET and uses AutoCAD 2006 with ObjectDBX but not the SDK.

With kind regards,

The Netherlands
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.