EgtExecutor 2.1l5 :
- in Exe e Lua Simulate inserito aggiornamento preliminare delle lavorazioni.
This commit is contained in:
+11
-1
@@ -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 ;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user