I'm not sure that I completely understand your request. Do you want to
create and work on a temporary database, or do you want to open a database
from a file without loading it in the editor, or am I missing the point
//Create a database
Database tempDb = new Database(true, false);
//Get a database from a file :-)
public Database GetDatabaseFromFile(string fileName)
Database databaseFromFile = new Database(false, true);
databaseFromFile.ReadDwgFile(fileName, System.IO.FileShare.None, false,
Remember that you must Dispose of any database that you create when you are
done with it.
Bobby C. Jones
wrote in message news:firstname.lastname@example.org...
I want to open and I want to work a drawing from a data stream of the data
base without having saved the file in the hard disk.
I have a drawing saved on a database as binary stream, and I want to open this drawing without having passed that binary stream to .dwg file at hard disk,i.e.,I want to open that drawing passing to AutoCAD that binary stream from database directly.