PDA

View Full Version : ReadDwgFile --> ReadDwgMemoryStream



bweir
2009-03-06, 08:29 PM
I would like to see a function added to the Database class that would allow me to fill a database object with a memory stream.

That way we could store a DWG file in an assembly as an embedded resource and pull it from the assembly straight to a database object. Currently we would have to take the memory stream and save it as a temporary file before using the ReadDwgFile() method. I'm just looking to cut out the middle man a little and not have temporary files to clean up.