API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::appendToOwner Method
OdDgElement::appendToOwner Method
Syntax
C++
virtual void appendToOwner(OdDgIdPair& idPair, OdDgElement* pOwnerObject, OdDgIdMapping& ownerIdMap);
Parameters 
Description 
OdDgIdPair& idPair 
[in] ID pair to append.  
OdDgElement* pOwnerObject 
[in] Pointer to the owner object.  
OdDgIdMapping& ownerIdMap 
[in/out] Owner's ID map. 

This function appends this object to the specified owner object. 

 

Adds a record to the specified ID map. 

This function is used internally to subDeepClone() and subWblockClone().

Copyright © 2002–2021. Open Design Alliance. All rights reserved.