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

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

Adds a parameter to an element. 

 

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