API Reference > Classes > OdIfcRxDisplayAsAttribute Class > OdIfcRxDisplayAsAttribute Methods > OdIfcRxDisplayAsAttribute::getDisplayValue Method
OdIfcRxDisplayAsAttribute::getDisplayValue Method
Syntax
C++
virtual OdString getDisplayValue(OdRxValue& value, bool useDynamicProperties);
Parameters 
Description 
OdRxValue& value 
[in] A value to dereference and retrieve the property of.  
bool useDynamicProperties 
[in] A flag that determines whether the getting of the displayed value should be optimized (is equal to true) or not (is equal to false). 

The name of the dereferenced object's property to use instead of the object identifier. If the passed value type is not a reference or the referenced object has no such property, the method returns an empty string.

Dereferences the IFC attribute value and retrieves the property which name is stored in the attribute.

The useDynamicProperties flag can be set to false only if all properties of the database objects are statically dependent on the object type.

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