API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::subSetDatabaseDefaults Method
OdDbViewport::subSetDatabaseDefaults Method
Syntax
C++
virtual void subSetDatabaseDefaults(OdDbDatabase* pDb, bool doSubents);
Parameters 
Description 
OdDbDatabase* 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.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.