AcDbDatabase::wblock (AcDbDatabase*&) does not create a full copy; for example, it does not copy AcDbRasterVariables.
Of course, there is a way with saving to a file and then loading, but I am wondering about a way without disk operations.
Solved! Go to Solution.
Solved by owenwengerd. Go to Solution.
I supposed you could deep clone each of the symbol tables and the named objects dictionary via separate calls to AcDbDatabase::deepCloneObjects(), but this would not copy header variables. For that I think the only practical solution is AcDbDatabase::saveAs() and AcDbDatabase::readDwgFile().