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

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

Sets a value to a parameter by it's id. 

 

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