API Reference > OdRx Classes > OdRxDisplayAsAttribute Class > OdRxDisplayAsAttribute Methods > OdRxDisplayAsAttribute::createObject Method
OdRxDisplayAsAttribute::createObject Method
Syntax
C++
static OdRxAttributePtr createObject(const OdString& property_name);
Parameters 
Description 
const OdString& property_name 
[in] The name of the property of the dereferenced object to use instead of the object ID. 

Smart pointer to a constructed attribute object.

Constructor. Creates an attribute of the OdRxDisplayAsAttribute type. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.