Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::setDatabaseDefaults Method
Syntax
C++
void setDatabaseDefaults(OdDbDatabase* pDb = 0, bool doSubents = false);

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

 

Parameters
Description
pDb
[in] Pointer to the database whose default values are to be used.
doSubents
[in] Set to true if subentities should be processed

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-2022. Open Design Alliance All rights reserved.