EgtCAM5 :

- Automatismo attrezzaggio.
- Migliorie attrezzaggio.
This commit is contained in:
Emmanuele Sassi
2017-01-24 19:34:53 +00:00
parent 7c0a13f382
commit ce1ebbf0e7
5 changed files with 206 additions and 30 deletions
@@ -718,7 +718,7 @@ Namespace EgtCAM5
' verifico che il file di configurazione attrezzaggio (lua) della macchina esista
If Not File.Exists(IniFile.m_sCurrMachScriptsDirPath & "\" & SETUP_LUA) Then
EgtOutLog("SetUp error: SetUp configuration file doesn't exist ")
MessageBox.Show("SetUp configuration file doesn't exist!", "Error", MessageBoxButton.OK, MessageBoxImage.Error)
MessageBox.Show(EgtMsg(MSG_SETUPERRORS + 7), EgtMsg(MSG_SETUPERRORS + 1), MessageBoxButton.OK, MessageBoxImage.Error)
Return
End If
' carico Lua che contiene le funzioni per ottenere le posizioni valide dell'utensile selezionato,
@@ -737,7 +737,7 @@ Namespace EgtCAM5
EgtLuaGetGlobIntVar("STU.ERR", nErr)
If nErr = 0 Then
If EgtGetHeadExitCount(sHead) = 0 Then
MessageBox.Show("SetUp configuration use a head that doesn't exist on the machine!", "Error", MessageBoxButton.OK, MessageBoxImage.Error)
MessageBox.Show(EgtMsg(MSG_SETUPERRORS + 8), EgtMsg(MSG_SETUPERRORS + 1), MessageBoxButton.OK, MessageBoxImage.Error)
Return
End If
End If