EgtExecutor :
- a ExeAdvancedImport aggiunto parametro dLinToler.
This commit is contained in:
+4
-2
@@ -299,7 +299,7 @@ ExeAdvancedImportIsEnabled( void)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeAdvancedImport( const string& sFilePath)
|
||||
ExeAdvancedImport( const string& sFilePath, double dToler)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_GEOMDB( pGseCtx, false)
|
||||
@@ -330,7 +330,7 @@ ExeAdvancedImport( const string& sFilePath)
|
||||
sExec = "EgtConverterR32.exe" ;
|
||||
#endif
|
||||
string sCmdLine = "\"" + sExec + "\" \"" + sFilePath + "\" \"" + sFileOut + "\" \"" +
|
||||
ExeGetKey() +"\" \"" + ToString( ExeGetDebugLevel()) + "\"" ;
|
||||
ToString( dToler, 3) + "\" \"" + ToString( ExeGetDebugLevel()) +"\" \"" + ExeGetKey() + "\"" ;
|
||||
STARTUPINFO si ;
|
||||
PROCESS_INFORMATION pi ;
|
||||
ZeroMemory( &si, sizeof( si)) ;
|
||||
@@ -361,6 +361,8 @@ ExeAdvancedImport( const string& sFilePath)
|
||||
CmdLogOff cmdLogOff ;
|
||||
bOk = bOk && ExeOpenFile( sFileOut) ;
|
||||
cmdLogOff.Reset() ;
|
||||
if ( ExeGetDebugLevel() < 5)
|
||||
EraseFile( sFileOut) ;
|
||||
// aggiorno stato file corrente
|
||||
pGseCtx->m_sFilePath = sFilePath ;
|
||||
ExeSetModified() ;
|
||||
|
||||
Reference in New Issue
Block a user