diff --git a/API_GeomDB.cpp b/API_GeomDB.cpp index 5d7f01d..ffcbdfd 100644 --- a/API_GeomDB.cpp +++ b/API_GeomDB.cpp @@ -184,9 +184,13 @@ __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag) //----------------------------------------------------------------------------- BOOL -__stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath, int nFlag) +__stdcall EgtSaveObjToFile( int nNumId, const int nIds[], const wchar_t* wsFilePath, int nFlag) { - return ( ExeSaveObjToFile( nId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; + INTVECTOR vId ; + vId.reserve( nNumId) ; + for ( int i = 0 ; i < nNumId ; ++i) + vId.push_back( nIds[i]) ; + return ( ExeSaveObjToFile( vId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; } //-----------------------------------------------------------------------------