Parameters |
Description |
const OdString& destinationBlockName |
[in] Name for the new OdDbBlockTableRecord. |
OdDbDatabase* pSource |
[in] Source database. |
bool preserveSourceDatabase = true |
[in] Not used. Objects from the source database are always copied, not moved. |
Copies the content of a specified database to this database.
The data that will be copied includes content of the following enities:
Unlike the wblockCloneObjects() method, insert() also copies the sortens table. While copying duplicate objects, names will be ignored; a destination object that has the same name as the source object will be rewritten by the source one.
A new OdDbBlockTableRecord is created and all model space entities of pSource are copied into the new block.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|