diff --git a/API_Exchange.cpp b/API_Exchange.cpp index 3ec1ea6..b267359 100644 --- a/API_Exchange.cpp +++ b/API_Exchange.cpp @@ -106,30 +106,30 @@ __stdcall EgtAdvancedImport( const wchar_t* wsFilePath, double dLinToler) //----------------------------------------------------------------------------- BOOL -__stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath, int nFlag) +__stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath, int nFlag, int nFilter) { - return ( ExeExportDxf( nId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; + return ( ExeExportDxf( nId, wstrztoA( wsFilePath), nFlag, nFilter) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- BOOL -__stdcall EgtExportStl( int nId, const wchar_t* wsFilePath) +__stdcall EgtExportStl( int nId, const wchar_t* wsFilePath, int nFilter) { - return ( ExeExportStl( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ; + return ( ExeExportStl( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- BOOL -__stdcall EgtExport3MF( int nId, const wchar_t* wsFilePath) +__stdcall EgtExport3MF( int nId, const wchar_t* wsFilePath, int nFilter) { - return ( ExeExport3MF( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ; + return ( ExeExport3MF( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- BOOL -__stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath) +__stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath, int nFilter) { - return ( ExeExportSvg( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ; + return ( ExeExportSvg( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- @@ -141,7 +141,7 @@ __stdcall EgtSetThreeJSLibDir( const wchar_t* wsThreeJSLibDir) //----------------------------------------------------------------------------- BOOL -__stdcall EgtExportThreeJS( int nId, const wchar_t* wsFilePath) +__stdcall EgtExportThreeJS( int nId, const wchar_t* wsFilePath, int nFilter) { - return ( ExeExportThreeJS( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ; + return ( ExeExportThreeJS( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ; } diff --git a/EgtInterface.rc b/EgtInterface.rc index 6ea4543..5c1a63d 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ