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

The current value of the attribute.

Retrieves the current value of the 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. The method is case sensitive for the attribute name. For case-insensitive search of the attribute value, use the getAttrCaseInsensitive() method.

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