EgtExecutor 2.1l5 :

- in Exe e Lua Simulate inserito aggiornamento preliminare delle lavorazioni.
This commit is contained in:
Dario Sassi
2019-12-10 14:59:50 +00:00
parent 93d216816d
commit 83ab192ee7
2 changed files with 11 additions and 1 deletions
+11 -1
View File
@@ -2776,10 +2776,20 @@ ExeEstimate( const string& sEstFile, const string& sInfo)
//-----------------------------------------------------------------------------
bool
ExeSimulate( int& nErr, std::string& sError)
ExeSimulate( int& nErr, string& sError)
{
IMachMgr* pMachMgr = GetCurrMachMgr() ;
VERIFY_MACHMGR( pMachMgr, false)
// forzo aggiornamento
if ( ! ExeApplyAllMachinings( false, false, sError)) {
// assegno il codice di errore
nErr = SHE_INIT ;
// assegno stringa di errore
sError = "Starting simulation failed" ;
ExeOutLog( sError, 1) ;
// esco
return false ;
}
// inizializzo lo stato
bool bContinue = true ;
nErr = SHE_NONE ;
BIN
View File
Binary file not shown.