API Reference > OdDAI Namespace > Classes > FileName Class > FileName Methods > FileName::putAttr Method
FileName::putAttr Method
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.