EgtExecutor 2.1j4 :
- aggiunte funzioni Exe e Lua GetClEntMove, GetClEntFlag, GetClEntindex.
This commit is contained in:
+34
-2
@@ -1,7 +1,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2015-2015
|
||||
// EgalTech 2015-2019
|
||||
//----------------------------------------------------------------------------
|
||||
// File : EXE_MachMgr.cpp Data : 05.05.15 Versione : 1.6e1
|
||||
// File : EXE_MachMgr.cpp Data : 15.10.19 Versione : 2.1j4
|
||||
// Contenuto : Funzioni Machining Manager per EXE.
|
||||
//
|
||||
//
|
||||
@@ -2573,6 +2573,38 @@ ExeUpdateAllMachinings( bool bStopOnFirstErr, string& sErrList)
|
||||
return bOk ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// CL Entities Interrogations
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetClEntMove( int nEntId, int& nMove)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// recupero il tipo di movimento
|
||||
return pMachMgr->GetClEntMove( nEntId, nMove) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetClEntFlag( int nEntId, int& nFlag)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// recupero il flag
|
||||
return pMachMgr->GetClEntFlag( nEntId, nFlag) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetClEntIndex( int nEntId, int& nIndex)
|
||||
{
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// recupero l'indice
|
||||
return pMachMgr->GetClEntIndex( nEntId, nIndex) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Simulazione
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user