Share

AcDbEntity Constructor

Overload List

Method Description
AcDbEntity::AcDbEntity () 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.
AcDbEntity::AcDbEntity (AcDbEntity &) Copy constructor. Don't use this method, instead use the CopyFrom() method.

Was this information helpful?