EgtExecutor 1.6s2 :
- aggiunte ExeGetTable e ExeTdbGetToolFromUUID - aggiunta a Lua EgtGetTableName.
This commit is contained in:
@@ -720,6 +720,16 @@ ExeSetTable( const string& sTable)
|
||||
return pGseCtx->m_pMachMgr->SetTable( sTable) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetTable( string& sTable)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// recupero il nome della tavola corrente della macchinata corrente
|
||||
return pGseCtx->m_pMachMgr->GetTable( sTable) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetTableRef( int nInd, Point3d& ptPos)
|
||||
@@ -842,6 +852,16 @@ ExeTdbGetNextTool( int nFamily, string& sName, int& nType)
|
||||
return pGseCtx->m_pMachMgr->TdbGetNextTool( nFamily, sName, nType) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeTdbGetToolFromUUID( const string& sTuuid, string& sName)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// restituisce nome dell'utensile di dato UUID
|
||||
return pGseCtx->m_pMachMgr->TdbGetToolFromUUID( sTuuid, sName) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeTdbSetCurrTool( const string& sName)
|
||||
|
||||
Reference in New Issue
Block a user