API Reference > Classes > Database Classes > OdBmElement Class > OdBmElement Methods > OdBmElement::addParam Method (OdBm::BuiltInParameter::Enum&, double&)
OdBmElement::addParam Method (OdBm::BuiltInParameter::Enum&, double&)
Syntax
C++
OdResult addParam(const OdBm::BuiltInParameter::Enum& parameterId, const double& value);
Parameters 
Description 
const OdBm::BuiltInParameter::Enum& parameterId 
[in] A built-in parameter.  
const double& value 
[out] Input parameter value as double.  

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.