API Reference > OdIfc2x3 Namespace > Classes > IfcLine Class > IfcLine Methods > putAttr Method > IfcLine::putAttr Method (char *, OdRxValue &)
IfcLine::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.  

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-2021. Open Design Alliance. All rights reserved.