API Reference > OdDb Classes > OdDbDimension Class > OdDbDimension Methods > OdDbDimension::subSetDatabaseDefaults Method
OdDbDimension::subSetDatabaseDefaults Method
Syntax
C++
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 is used. 

The following properties are set

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