API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::subSetDatabaseDefaults Method
OdDbMPolygon::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. 

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

 

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

The following properties are set:

  • color,
  • layer,
  • linetype,
  • linetype scale,
  • lineweight,
  • plotstyle,
  • visibility.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.