diff --git a/BatchProcessNew.lua b/BatchProcessNew.lua index 5222c62..d2de1a1 100644 --- a/BatchProcessNew.lua +++ b/BatchProcessNew.lua @@ -753,6 +753,14 @@ if bToProcess then BEAM.CUTID = RESULT[i].idCut BEAM.FALL = abs( RESULT[i].nErr + 100) WriteFallToLogFile( BEAM.ERR, BEAM.MSG, BEAM.CUTID, BEAM.FALL) + -- errore da post apply, al momento non specifico + elseif RESULT[i].sType == 'Part' and RESULT[i].nErr > 0 then + nErrCnt = nErrCnt + 1 + sOutput = sOutput .. string.format( '[%d,%d] %s\n', RESULT[i].idCut, RESULT[i].idTask, sMsg) + BEAM.ERR = 19 + BEAM.MSG = 'Clamp impossible' + WriteErrToLogFile( BEAM.ERR, BEAM.MSG) + return -- feature incompleta e altro elseif RESULT[i].sType == 'Feature' and RESULT[i].ChosenStrategy.sStatus == 'Not-Completed' then nWarnCnt = nWarnCnt + 1 @@ -767,6 +775,9 @@ if bToProcess then end end + -- se scarico a caduta (-101, -102) le lavorazioni dopo separazione vanno disattivate + + -- Salvo il progetto EgtSaveFile( sNgeFile) -- copio come originale (per dichiarare progetto ricalcolato)