API Reference > OdRx Classes > OdRxUiPlacementAttribute Class > OdRxUiPlacementAttribute Methods > OdRxUiPlacementAttribute::createObject Method
OdRxUiPlacementAttribute::createObject Method
Syntax
C++
static OdRxAttributePtr createObject(const OdString& category, unsigned int weight);
Parameters 
Description 
const OdString& category 
[in] Category name.  
unsigned int weight 
[in] Weight. 

Smart pointer to the created attribute.

Constructor. Creates the attribute to store UI category and weight. 

 

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