API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::copyFrom Method
OdDbObject::copyFrom Method
Syntax
C++
virtual void copyFrom(const OdRxObject* pSource);
Parameters 
Description 
const OdRxObject* pSource 
[in] Pointer to the source object. 

Copies the contents of the specified object into this object when possible. 

 

The source object and this object need not be of the same type. This function is meaningful only when implemented by custom classes.

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