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

Called by setDatabaseDefaults() after the values are set. 

 

If pDb is null, the database containing this entity is used. This function allows custom classes to inspect and modify the values set by setDatabaseDefaults. The default implementation of this function is empty. This function can be overridden in custom classes.

This function is not intended to be called by the user.

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