From 548bc7bc6ce8d4b849f53abc9ac77f9bb8a541a2 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Fri, 24 May 2024 12:08:42 +0200 Subject: [PATCH] =?UTF-8?q?-=20ora=20per=20verificare=20se=20la=20gerenazi?= =?UTF-8?q?one=20=C3=A8=20abilitata=20si=20controlla=20il=20valore=20NoPar?= =?UTF-8?q?tProgram=20nella=20sezione=20Mach=20del=20file=20ini=20del=20Ca?= =?UTF-8?q?m5;=20se=200=20o=20non=20esiste=20tutto=20=C3=A8=20come=20prima?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BatchProcessNew.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', '')