.NET

Reply
Member
bweirbear
Posts: 3
Registered: ‎12-06-2006
Message 1 of 1 (145 Views)

Db SaveAs

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

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?

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
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 to get help installing your software.

Ask the Community