Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My app tries to export some entities to an new external database using this code:
Acad::ErrorStatus es;
AcDbDatabase* pDb = new AcDbDatabase(true);
es = acdbHostApplicationServices()->workingDatabase()->wblock(pDb, entsArray, AcGePoint3d::kOrigin);
es = pDb->saveAs(file);
delete pDb;
return;
It doesn't work because wblock returns eWrongDatabase.
Does anyone have an idea why that happens?
Cheers Dieter
Solved! Go to Solution.