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
entirely?
//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,
null);
return databaseFromFile;
}
Remember that you must Dispose of any database that you create when you are
done with it.
--
Bobby C. Jones
wrote in message news:5175897@discussion.autodesk.com...
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.
Are there any method to do it?