Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

get/detect corrupt/recoverable drawing file

0 REPLIES 0
Reply
Message 1 of 1
autoDeveloper
275 Views, 0 Replies

get/detect corrupt/recoverable drawing file

Hello,

 

I tried to use    using (Database db = new Database(false, false))

{        

        try        

         {              

                   db.ReadDwgFile(docname, FileOpenMode.OpenForReadAndWriteNoShare, false, null);                                   

                   db.CloseInput(true);      

         }      

        catch (System.Exception ex)      

         {      

         }

}  

 

But above code also crashing and show fatal error while running using accoreconsole.exe. Fatal error screenshot attached. Please help how console program can catch this issue.    

 

Thanks in advance

0 REPLIES 0

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report