Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgElement::handOverTo Method
Syntax
C++
void handOverTo(OdDgElement* pNewElement);

Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's elementId, handle, owner, and reactor list. 

 

Parameters
Description
pNewElement
[in] Pointer to the object with which to replace this object in the database.

This object must be open OdDg::kForWrite. 

The replacement object will opened OdDg::kForWrite, and must be closed. 

It is up to the caller to delete the replaced (this) object.

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