If i use Acad::Errorstatus wblock(AcDbDatabase*& pOutputDb); to copy a database, will the cloned AcDbObjects have the same AcDbHandle in both databases? It doesn't seem so, cause the order the entities were first created is not the order they are getting cloned in. If not, what means do i have to have an equivalence between original and cloned objects?
Solved! Go to Solution.
Solved by owenwengerd. Go to Solution.
What exactly do you mean by "have an equivalence"? If you mean a map between source and clone, then you can use the wblockCloneObjects method that requires an AcDbIdMapping.