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

Db SaveAs

168 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?

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.