The following functions set and retrieve the current linetype value in the database:
Acad::ErrorStatus AcDbDatabase::setCeltype( AcDbObjectId objId); AcDbObjectId AcDbDatabase::celtype() const;