From 67c847e8efde5a6a7b5d841327bbcd7a0a2ced97 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 10 Aug 2020 10:30:17 +0000 Subject: [PATCH] OmagCUT 2.2h2 : - corretto controllo su tagli da sotto che portava a loop infinito su macchina senza dispositivo per tagli da sotto ma con pezzi relativa geometria. --- CadCuts/VacuumCups.vb | 2 +- My Project/AssemblyInfo.vb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CadCuts/VacuumCups.vb b/CadCuts/VacuumCups.vb index 38784f2..a6fe441 100644 --- a/CadCuts/VacuumCups.vb +++ b/CadCuts/VacuumCups.vb @@ -191,7 +191,7 @@ Module VacuumCups ' Cerco la direzione del primo taglio attivo da sotto Dim nDripLayId As Integer = EgtGetFirstNameInGroup( nPartId, NAME_DRIPCUT) Dim nDripLineId As Integer = EgtGetFirstInGroup( nDripLayId) - While nDripLayId <> GDB_ID.NULL + While nDripLineId <> GDB_ID.NULL Dim nMchId As Integer = EgtGetOperationId( "DripSaw" & nDripLineId.ToString()) Dim nMode As Integer If EgtGetMode( nMchId, nMode) AndAlso nMode = GDB_MD.STD Then Exit While diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index d2119f8..cc5ad41 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -62,5 +62,5 @@ Imports System.Windows ' by using the '*' as shown below: ' - - + +