API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::originalFileType Method
OdDbDatabase::originalFileType Method
Syntax
C++
OdDb::SaveType originalFileType() const;

Returns the filetype of the file from which this database object was read.

originalFileType() returns one of the following: 

 

Name 
Value 
Description 
OdDb::kDwg 
.dwg file. 
OdDb::kDxf 
.dxf file. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.