8bc0e986b2
- esecutore e lua scorporato in EgtExecutor.
105 lines
2.8 KiB
C++
105 lines
2.8 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2014-2014
|
|
//----------------------------------------------------------------------------
|
|
// File : API_GdbObjects.cpp Data : 02.09.14 Versione : 1.5i1
|
|
// Contenuto : Funzioni iterazione di DB geometrico per API.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 02.09.14 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
//--------------------------- Include ----------------------------------------
|
|
#include "stdafx.h"
|
|
#include "API.h"
|
|
#include "/EgtDev/Include/EInAPI.h"
|
|
#include "/EgtDev/Include/EXeExecutor.h"
|
|
|
|
using namespace std ;
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtSelectObj( int nId)
|
|
{
|
|
return ( ExeSelectObj( nId) ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtDeselectObj( int nId)
|
|
{
|
|
return ( ExeDeselectObj( nId) ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtSelectAll( BOOL bOnlyIfVisible)
|
|
{
|
|
return ( ExeSelectAll( ( bOnlyIfVisible != FALSE)) ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtDeselectAll( void)
|
|
{
|
|
return ( ExeDeselectAll() ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtSelectGroupObjs( int nGroupId)
|
|
{
|
|
return ( ExeSelectGroupObjs( nGroupId) ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtDeselectGroupObjs( int nGroupId)
|
|
{
|
|
return ( ExeDeselectGroupObjs( nGroupId) ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
BOOL
|
|
__stdcall EgtIsSelectedObj( int nId)
|
|
{
|
|
return ( ExeIsSelectedObj( nId) ? TRUE : FALSE) ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
int
|
|
__stdcall EgtGetSelectedObjNbr( void)
|
|
{
|
|
return ExeGetSelectedObjNbr() ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
int
|
|
__stdcall EgtGetFirstSelectedObj( void)
|
|
{
|
|
return ExeGetFirstSelectedObj() ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
int
|
|
__stdcall EgtGetNextSelectedObj( void)
|
|
{
|
|
return ExeGetNextSelectedObj() ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
int
|
|
__stdcall EgtGetLastSelectedObj( void)
|
|
{
|
|
return ExeGetLastSelectedObj() ;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
int
|
|
__stdcall EgtGetPrevSelectedObj( void)
|
|
{
|
|
return ExeGetPrevSelectedObj() ;
|
|
}
|