API Reference > OdDb Classes > OdDbEntity Class > OdDbEntity Methods > OdDbEntity::setPropertiesFrom Method
OdDbEntity::setPropertiesFrom Method
Syntax
C++
void setPropertiesFrom(const OdDbEntity* pSource, bool doSubents = true);
Parameters 
Description 
const OdDbEntity* pSource 
[in] Pointer to the source entity.  
bool doSubents = true 
[in] If and only if true, applies the change to all sub-entities owned by this entity. 

Copies the properties from the specified entity to this entity.

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