.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to save a database?

3 REPLIES 3
Reply
Message 1 of 4
netcai
263 Views, 3 Replies

how to save a database?

I
opened an database with db.ReadDwgFile method ,then modifty the databse ,when I want save it with db.save(), a error ocurred.
could anyboby tell me how to save modiy to the database with other method.
I use vs2005 and autocad2006
3 REPLIES 3
Message 2 of 4
t.willey
in reply to: netcai

This is how I do it.

db.SaveAs (Str, DwgVersion.Current);

Where Str = Full path of drawing.

--

Tim
"A blind man lets nothing block his vision."


wrote in message news:5726624@discussion.autodesk.com...
I
opened an database with db.ReadDwgFile method ,then modifty the databse
,when I want save it with db.save(), a error ocurred.
could anyboby tell me how to save modiy to the database with other method.
I use vs2005 and autocad2006
Message 3 of 4
netcai
in reply to: netcai

db.saveas() is a method,but my dwg is a sheet in a sheetset,if I use saveas() method, all the information of sheetset will lost, so I can't use saveas() method, but db.save() is unavailable , how could I do?
Message 4 of 4
t.willey
in reply to: netcai

I'm pretty new to C# and .Net, but the save method has never worked in any
other language that I know of. I heard problems with the save method for
Lisp'ers and VBA'ers, so I don't think there is another way besides the
saveas method.

If I'm wrong, anyone, please let me know.

--

Tim
"A blind man lets nothing block his vision."


wrote in message news:5728491@discussion.autodesk.com...
db.saveas() is a method,but my dwg is a sheet in a sheetset,if I use
saveas() method, all the information of sheetset will lost, so I can't use
saveas() method, but db.save() is unavailable , how could I do?

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