Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbDatabase::wblock Method (const OdDbObjectIdArray&, const OdGePoint3d&)
Syntax
C++
OdDbDatabasePtr wblock(const OdDbObjectIdArray& outObjIds, const OdGePoint3d& basePoint);

Clones specified objects of this database to a new database. 

 

Parameters
Description
outObjIds
[in] Array of object IDs to be cloned.
basePoint
[in] WCS base point for the insertion.

The method creates a new OdDbDatabase object, populates it with specified objects from this database using the wblockClone() method and returns a smart pointer to the new database. All objects are copied with their dependencies. For example, if a text entity uses a specific textstyle, it will be copied as well; line entities will be copied with their linestyles, etc.

Copyright © 2002-2022. Open Design Alliance All rights reserved.