Autodesk.AutoCAD.DatabaseServices Namespace > Entity Class > Entity Methods > SetDatabaseDefaults Method > SetDatabaseDefaults() Method
Entity.SetDatabaseDefaults() Method
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 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.

Visual Basic
Public Function SetDatabaseDefaults() As void
C#
public void SetDatabaseDefaults();
Links
   Comments?