Share

AcDbEntity::setDatabaseDefaults

C++

void setDatabaseDefaults(
    AcDbDatabase* pDb
);

Description

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.

Parameters

Parameters Description
pDb Input database whose defaults will be used to set the values of the entity

Links

AcDbEntity

Was this information helpful?