Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbScale::appendToOwner Method
Syntax
C++
virtual void appendToOwner(OdDbIdPair& idPair, OdDbObject* pOwnerObject, OdDbIdMapping& ownerIdMap);

This function appends this object to the specified owner object during the deep or wblock clone operation. 

 

Parameters
Description
idPair
[in] Original-to-clone ID mapping record for this clone.
pOwnerObject
[in] Pointer to the owner object.
idMap
[in/out] ID mapping object of the cloning operation in progress.

This callback is called before the IDs are translated in the target database so the implementer should use only methods certainly not traversing hierarchy in the target database. To follow clone's references properly they should be translated using the ID mapping object. 

The default implementation appends this object to OdDbDictionary or throws the eInvalidOwnerObject exception if the owner object is not a kind of dictionary.

subDeepClone() subWblockClone() deepClone() wblockClone()

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