Share

setDatabaseDefaults Method

Overload List

Method Description
AcDbEntity::setDatabaseDefaults () This function sets the entity's
  • Color
  • Layer
  • Linetype
  • Linetype scale
  • Visibility
  • Plot style name
  • Line weight
to the default values of the database in which the entity currently resides or, if the entity is not part of a database yet, the current database in the AutoCAD editor is used.
AcDbEntity::setDatabaseDefaults (AcDbDatabase*) This function sets the entity's:
  • Color
  • Layer
  • Linetype
  • Linetype scale
  • Visibility
  • Plot style name
  • Line weight
to the default values of the database indicated by pDb: If pDb == NULL, then the current database in the AutoCAD editor is used.

Was this information helpful?