Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Entity::findAttribute Method
Syntax
C++
const AttributePtr findAttribute(const char * attrName) const;

Searches for an attribute definition with a specified name for the entity definition and all its supertypes.

Parameters
Description
attrName
[in] An ANSI string that contains the name of the attribute to find.

A smart pointer to the found attribute definition; if the attribute is not found then a NULL smart pointer is returned.

The search of the attribute is performed starting from the most base entity definition towards its subtypes (to this entity definition).

Copyright © 2002-2022. Open Design Alliance All rights reserved.