API Reference > Classes > Base Classes > OdBmObject Class > OdBmObject Methods > OdBmObject::setDatabaseDefaults Method
OdBmObject::setDatabaseDefaults Method
Syntax
C++
void setDatabaseDefaults(OdDbBaseDatabase* pDb = 0, bool doSubents = false);
Parameters 
Description 
OdDbBaseDatabase* pDb = 0 
[in] Pointer to the database whose default values are to be used.  
bool doSubents = false 
[in] Set to true if subentities should be processed 

Applies the default properties of the specified database to this entity. 

 

If pDb is null, the database containing this entity is used.

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