diff --git a/BatchProcessNew.lua b/BatchProcessNew.lua index 29e8232..2b55ebe 100644 --- a/BatchProcessNew.lua +++ b/BatchProcessNew.lua @@ -609,7 +609,7 @@ if ( WALL.FLAG == 0 and ( bToProcess or bToRecalc)) or WALL.FLAG == 3 or WALL.F end -- *** Genero programma CN *** ( se richiesto) -local bIsGenerationEnabled = not EgtVerifyKeyOption( 110) +local bIsGenerationEnabled = ( EgtGetNumberFromIni( 'Mach', 'NoPartProgram', 0, EgtGetIniFile()) == 0) if bIsGenerationEnabled and ( WALL.FLAG == 0 or WALL.FLAG == 4) then EgtOutLog( ' +++ Generating NC part program >>>') local sInfo = 'EgtCAM5' .. EgtIf( EgtIs64bit(), ' 64bit', '')