API Reference > Classes > Database Classes > OdBmFamilyBase Class > OdBmFamilyBase Methods > OdBmFamilyBase::setDatabase2 Method
OdBmFamilyBase::setDatabase2 Method
Syntax
C++
OdResult setDatabase2(OdBmDatabase*);
Parameters 
Description 
database 
[in] A raw pointer to the BimRv database object.  

eOk if the database was successfully set for the family; otherwise, the method returns an appropriate error code.

Associates a specified BimRv database with the family.

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