Settato il gruppo temporaneo come effettivamente temporaneo per evitare che venga salvato

This commit is contained in:
andrea.villa
2025-10-27 16:55:32 +01:00
parent ee54c32918
commit dd0b39df71
3 changed files with 10 additions and 11 deletions
+9 -7
View File
@@ -421,9 +421,6 @@ if bToProcess then
end
end
-- creo un gruppo temporaneo dove finiranno tutte le entità che non bisogna salvare, alla fine lo si cancella
BeamLib.CreateTempGroup()
-- recupero parametri generali da progetto
BeamExec.GetGeneralParameters()
@@ -642,9 +639,18 @@ if bToProcess then
-- Lavoro le features
if not GetDataConfig() then return end
-- creo un gruppo temporaneo dove finiranno tutte le entità che non bisogna salvare, alla fine lo si cancella
BeamLib.CreateTempGroup()
BeamExec.GetProcessings( PARTS, bCalcBestPieceUnloadPosition)
BeamExec.GetCombinationMatrix( PARTS, bCalcBestPieceUnloadPosition)
BeamExec.ProcessMachinings( PARTS)
-- si cancella gruppo temporaneo contenente entità da cancellare
local idTempGroup = BeamLib.GetTempGroup()
EgtErase( idTempGroup)
local sOutput = ''
-- Scrittura json risultati
@@ -709,10 +715,6 @@ if bToProcess then
end
end
-- si cancella gruppo temporaneo contenente entità da cancellare
local idTempGroup = BeamLib.GetTempGroup()
EgtErase( idTempGroup)
-- Salvo il progetto
EgtSaveFile( sNgeFile)
-- copio come originale (per dichiarare progetto ricalcolato)