API Reference > OdDAI Namespace > Classes > DerivedAttribute Class > DerivedAttribute Methods > DerivedAttribute::getAttr Method
DerivedAttribute::getAttr Method
Syntax
C++
virtual OdRxValue getAttr(const char * attrName) const;
Parameters 
Description 
const char * attrName 
[in] An ANSI string that contains the attribute name.  

Returns the current value of the attribute.

Retrieves the current value of an attribute specified by its name.

The method provides the late binding access to the attribute value by its name. Attributes of select and aggregate data types are also supported.

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