C++
AcDbEntity();
Description
Default constructor. This constructor is protected to force this class to be used only as a base class. This constructor initializes the color to 257, the linetype and layer objectIds to AcDbObjectId::kNull, and the entity to be visible.
If the color layer and linetype have not been set by the time the entity is added to a database, then the entity is set to use the databases default color, LayerTableRecord object ID and LinetypeTableRecord object ID.