diff --git a/EInAPI.h b/EInAPI.h index 120494e..cd8d62e 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -590,11 +590,14 @@ EIN_EXPORT BOOL __stdcall EgtChangeOperationPhase( int nId, int nNewPhase) ; EIN_EXPORT int __stdcall EgtGetPhaseDisposition( int nPhase) ; // Machinings EIN_EXPORT BOOL __stdcall EgtSetCurrMachining( int nId) ; +EIN_EXPORT int __stdcall EgtGetCurrMachining( void) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningParamInt( int nType, int nVal) ; EIN_EXPORT BOOL __stdcall EgtSetMachiningParamDouble( int nType, double dVal) ; EIN_EXPORT BOOL __stdcall EgtPreviewMachining( BOOL bRecalc) ; +EIN_EXPORT BOOL __stdcall EgtApplyMachining( BOOL bRecalc) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningParamInt( int nType, int* pnVal) ; EIN_EXPORT BOOL __stdcall EgtGetMachiningParamDouble( int nType, double* pdVal) ; +EIN_EXPORT BOOL __stdcall EgtGetMachiningGeometry( int nInd, int* pnId, int* pnSub) ; EIN_EXPORT BOOL __stdcall EgtIsMachiningEmpty( void) ; // Simulation EIN_EXPORT BOOL __stdcall EgtSimStart( void) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 22d6ace..a379f33 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -634,6 +634,8 @@ EXE_EXPORT int ExeGetPhaseDisposition( int nPhase) ; // Machinings EXE_EXPORT int ExeAddMachining( const std::string& sName, const std::string& sMachining) ; EXE_EXPORT bool ExeSetCurrMachining( int nId) ; +EXE_EXPORT bool ExeResetCurrMachining( void) ; +EXE_EXPORT int ExeGetCurrMachining( void) ; EXE_EXPORT bool ExeSetMachiningParam( int nType, bool bVal) ; EXE_EXPORT bool ExeSetMachiningParam( int nType, int nVal) ; EXE_EXPORT bool ExeSetMachiningParam( int nType, double dVal) ;