diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 6709023..e27885d 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -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 //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index cfc5f08..20051d5 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ