diff --git a/EInAPI.h b/EInAPI.h index 2a4f062..6004cc0 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -539,6 +539,7 @@ EIN_EXPORT BOOL __stdcall EgtMdbGetSafeZ( double* pdSafeZ) ; EIN_EXPORT BOOL __stdcall EgtMdbSave( void) ; EIN_EXPORT BOOL __stdcall EgtMdbGetMachiningDir( wchar_t*& wsMchDir) ; // Operations +EIN_EXPORT BOOL __stdcall EgtRemoveOperation( int nId) ; EIN_EXPORT BOOL __stdcall EgtRemoveAllOperations( void) ; // Simulation EIN_EXPORT BOOL __stdcall EgtSimStart( void) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index 2bc3fd9..6aa82b4 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -143,7 +143,8 @@ class __declspec( novtable) IMachMgr virtual bool SetMachiningParam( int nType, double dVal) = 0 ; virtual bool SetMachiningParam( int nType, const std::string& sVal) = 0 ; virtual bool SetMachiningGeometry( const SELVECTOR& vIds) = 0 ; - virtual bool MachiningApply( void) = 0 ; + virtual bool MachiningPreview( bool bRecalc) = 0 ; + virtual bool MachiningApply( bool bRecalc) = 0 ; virtual bool GetMachiningParam( int nType, bool& bVal) const = 0 ; virtual bool GetMachiningParam( int nType, int& dVal) const = 0 ; virtual bool GetMachiningParam( int nType, double& dVal) const = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 1b77b64..97b60fb 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -567,7 +567,8 @@ EXE_EXPORT bool ExeSetMachiningParam( int nType, int nVal) ; EXE_EXPORT bool ExeSetMachiningParam( int nType, double dVal) ; EXE_EXPORT bool ExeSetMachiningParam( int nType, const std::string& sVal) ; EXE_EXPORT bool ExeSetMachiningGeometry( const SELVECTOR& vIds) ; -EXE_EXPORT bool ExeApplyMachining( void) ; +EXE_EXPORT bool ExePreviewMachining( bool bRecalc) ; +EXE_EXPORT bool ExeApplyMachining( bool bRecalc) ; EXE_EXPORT bool ExeGetMachiningParam( int nType, bool& bVal) ; EXE_EXPORT bool ExeGetMachiningParam( int nType, int& nVal) ; EXE_EXPORT bool ExeGetMachiningParam( int nType, double& dVal) ;