API Reference > Classes > Database Classes > OdBmFamilyManager Class > OdBmFamilyManager Methods > OdBmFamilyManager::addParameter Method (OdBmParamDefPtr&, bool)
OdBmFamilyManager::addParameter Method (OdBmParamDefPtr&, bool)
Syntax
C++
OdBmObjectId addParameter(const OdBmParamDefPtr& pParamDef, bool isInstance);
Parameters 
Description 
const OdBmParamDefPtr& pParamDef 
[in] A definition of the parameter to be added.  
bool isInstance 
[in] A flag that determines whether an instance of the parameter should be created.  

An identifier of the created parameter.

Adds a new parameter to the current family.

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