diff --git a/EExImportBtl.h b/EExImportBtl.h index 68b3625..dd13349 100644 --- a/EExImportBtl.h +++ b/EExImportBtl.h @@ -29,7 +29,7 @@ class __declspec( novtable) IImportBtl { public : virtual ~IImportBtl( void) {} - virtual bool Import( const std::string& sFile, IGeomDB* pGDB) = 0 ; + virtual bool Import( const std::string& sFile, IGeomDB* pGDB, bool bFlatPos = false) = 0 ; } ; //----------------------------------------------------------------------------- diff --git a/EInAPI.h b/EInAPI.h index 032920a..cbba89f 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -84,7 +84,7 @@ EIN_EXPORT BOOL __stdcall EgtImportDxf( const wchar_t* wsFilePath, double dScale EIN_EXPORT BOOL __stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) ; EIN_EXPORT BOOL __stdcall EgtImportCnc( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtImportCsf( const wchar_t* wsFilePath) ; -EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath) ; +EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath, BOOL bFlatPos) ; EIN_EXPORT BOOL __stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtExportStl( int nId, const wchar_t* wsFilePath) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 2ea7e71..aaa341f 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -85,7 +85,7 @@ EXE_EXPORT bool ExeImportDxf( const std::string& sFilePath, double dScaleFactor) EXE_EXPORT bool ExeImportStl( const std::string& sFilePath, double dScaleFactor) ; EXE_EXPORT bool ExeImportCnc( const std::string& sFilePath) ; EXE_EXPORT bool ExeImportCsf( const std::string& sFilePath) ; -EXE_EXPORT bool ExeImportBtl( const std::string& sFilePath) ; +EXE_EXPORT bool ExeImportBtl( const std::string& sFilePath, bool bFlatPos) ; EXE_EXPORT bool ExeExportDxf( int nId, const std::string& sFilePath) ; EXE_EXPORT bool ExeExportStl( int nId, const std::string& sFilePath) ;