EgtInterface 1.6l3 :

- aggiunta gestione attivazione e stato di visualizzazione di una operazione.
This commit is contained in:
Dario Sassi
2015-12-17 10:45:55 +00:00
parent 4680b6fe8b
commit 8b946f136e
2 changed files with 49 additions and 0 deletions
+49
View File
@@ -202,6 +202,27 @@ __stdcall EgtMoveRawPart( int nRawId, const double vtMove[3])
return ( ExeMoveRawPart( nRawId, vtMove) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetPartInRawPartCount( int nRawId)
{
return ExeGetPartInRawPartCount( nRawId) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetFirstPartInRawPart( int nRawId)
{
return ExeGetFirstPartInRawPart( nRawId) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetNextPartInRawPart( int nPartId)
{
return ExeGetNextPartInRawPart( nPartId) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtAddPartToRawPart( int nPartId, const double ptPos[3], int nRawId)
@@ -656,6 +677,34 @@ __stdcall EgtRemoveAllOperations( void)
return ( ExeRemoveAllOperations() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetOperationMode( int nId, BOOL bActive)
{
return ( ExeSetOperationMode( nId, bActive!= FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetAllOperationsMode( BOOL bActive)
{
return ( ExeSetAllOperationsMode( bActive!= FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetOperationStatus( int nId, BOOL bShow)
{
return ( ExeSetOperationStatus( nId, bShow != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetAllOperationsStatus( BOOL bShow)
{
return ( ExeSetAllOperationsStatus( bShow != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Simulation
//-----------------------------------------------------------------------------