From ffaf33c62eebd552810972d023e45e3e19682822 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Tue, 20 Aug 2024 17:34:46 +0200 Subject: [PATCH] =?UTF-8?q?in=20BatchProcessNew=20se=20flag=20apposito=20i?= =?UTF-8?q?n=20Cam5=20la=20generazione=20=C3=A8=20disabilitata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BatchProcessNew.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BatchProcessNew.lua b/BatchProcessNew.lua index 7496722..1cfee79 100644 --- a/BatchProcessNew.lua +++ b/BatchProcessNew.lua @@ -626,7 +626,8 @@ if ( BEAM.FLAG == 0 and ( bToProcess or bToRecalc)) or BEAM.FLAG == 3 or BEAM.F end -- *** Genero programma CN *** ( se richiesto) -if BEAM.FLAG == 0 or BEAM.FLAG == 4 then +local bIsGenerationEnabled = ( EgtGetNumberFromIni( 'Mach', 'NoPartProgram', 0, EgtGetIniFile()) == 0) +if bIsGenerationEnabled and ( BEAM.FLAG == 0 or BEAM.FLAG == 4) then EgtOutLog( ' +++ Generating NC part program >>>') local sInfo = 'EgtCAM5' .. EgtIf( EgtIs64bit(), ' 64bit', '') if EgtGetExeVersion then