I am processing a number of drawings.
I know there is a way in .NET to Audit a database once it is open.
With a corrupt drawing I can't open it in order to audit it. The code causes AutoCAD to crash with a message like:
INTERNAL ERROR: !dbobji.cpp@6601: eNotOpenForWrite
Makes sense to me, database didn't open because the drawing was bad.
Does anyone know of a quick, low-overhead way to validate a drawing before trying to work with it?
CAD Programming Solutions