From f80f3dcea346017bd3a31ae0ac77dc65e288fb14 Mon Sep 17 00:00:00 2001 From: DarioS Date: Thu, 23 Jun 2022 08:03:46 +0200 Subject: [PATCH] DataWall : - correzioni a Nestprocess per BASEDIR. --- NestProcess.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NestProcess.lua b/NestProcess.lua index 672b5da..1c72937 100644 --- a/NestProcess.lua +++ b/NestProcess.lua @@ -1,4 +1,4 @@ --- NestProcess.lua by Egaltech s.r.l. 2022/05/09 +-- NestProcess.lua by Egaltech s.r.l. 2022/06/23 -- Gestione nesting automatico pareti -- Intestazioni @@ -2136,6 +2136,7 @@ if bNestingOk then _G.WALL = {} WALL.FILE = NEST.FILE WALL.MACHINE = NEST.MACHINE + WALL.BASEDIR = NEST.BASEDIR WALL.FLAG = 6 -- CREATE_PANEL WALL.NESTING_REF = 'BL' nMachGroup = EgtGetFirstMachGroup() @@ -2145,7 +2146,7 @@ if bNestingOk then MachGroupIndex = MachGroupIndex + 1 EgtRemoveInfo( nMachGroup, "AUTONEST") EgtSetInfo( nMachGroup, "UPDATEUI", 1) - dofile( EgtGetSourceDir() .. "BatchProcessNew.lua") + dofile( NEST.BASEDIR .. "\\BatchProcessNew.lua") -- aggiorno interfaccia EgtProcessEvents( 200 + ( MachGroupIndex / MachGroupToTCnt * 100), 0) end