Posts: 3
Registered: ‎12-06-2006
Message 1 of 1 (154 Views)

Db SaveAs

154 Views, 0 Replies
12-06-2006 08:08 AM

Working with AutoCAD 2007 & VB.Net 2005

I am trying to save a copy of a drawings db to other file versions. I am loading the db similar to this:

Dim Db as New Autodesk.AutoCAD.DatabaseServices.Database

Db.ReadDwgFil(FileName, FileShare.ReadWrite, False, Nothing)

Do something to the drawing (eventually) and then...


The only versions this method seems to be capable of saving as are 2000 & 2004 where I know AutoCAD 2007 can save R14, 2000, 2004, and 2007 file formats. Why doesn't this method? Am I misinterpreting how to use this SaveAs method, is there something better I could use? Also, on some drawings this method will cause the program to crash or the output file will be corrupted. Any ideas why?

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.