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

Copies the properties from the specified entity to this entity.

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