API Reference > OdDg Classes > OdDgGraphicsElement Class > OdDgGraphicsElement Methods > OdDgGraphicsElement::subSetDatabaseDefaults Method
OdDgGraphicsElement::subSetDatabaseDefaults Method
Syntax
C++
virtual void subSetDatabaseDefaults(OdDgDatabase* pDb, bool doSubents);
Parameters 
Description 
OdDgDatabase* 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 returns eNotApplicable. This function can be overridden in custom classes. 

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

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