API Reference > OdIfc Namespace > Classes > OdIfcEntity Class > OdIfcEntity Methods > putAttr Method > OdIfcEntity::putAttr Method (char *, OdRxValue &)
OdIfcEntity::putAttr Method (char *, OdRxValue &)
Syntax
C++
virtual bool putAttr(const char * explicitAttrName, const OdRxValue & val);
Parameters 
Description 
const char * explicitAttrName 
[in] An ANSI string that contains the attribute name.  
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 an attribute that is specified by its name.

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