.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 1
bweirbear
346 Views, 0 Replies

Db SaveAs

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...

Db.SaveAs(DestFile,RequiredDwgVersion)



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?

0 REPLIES 0

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost