API Reference > Classes > Database Classes > OdBmElement Class > OdBmElement Methods > OdBmElement::addParam Method (OdBmObjectId&, OdInt32&)
OdBmElement::addParam Method (OdBmObjectId&, OdInt32&)
Syntax
C++
OdResult addParam(const OdBmObjectId& parameterId, const OdInt32& value);
Parameters 
Description 
const OdBmObjectId& parameterId 
[in] Output parameter id as OdBmObjectId.  
const OdInt32& value 
[out] Input parameter value as OdInt32.  

eOk if the operation completed successfully, or an appropriate error code otherwise.

Adds a parameter to an element. 

 

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