API Reference > OdIfc Namespace > Classes > OdIfcEntity Class > OdIfcEntity Methods > putAttr Method > OdIfcEntity::putAttr Method (OdIfcAttribute, OdRxValue &)
OdIfcEntity::putAttr Method (OdIfcAttribute, OdRxValue &)
Syntax
C++
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue & val);
Parameters 
Description 
const OdIfcAttribute explicitAttrDef 
[in] An OdIfcAttribute enumeration that represents the attribute definition.  
const OdRxValue & val 
[in] A new attribute value to be set.  

Returns true if the attribute value was successfully set; otherwise, the method returns false.

Sets a new value of a specified attribute.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.