diff --git a/EExBeamMgr.h b/EExBeamMgr.h index 16e3eb2..6e3a34c 100644 --- a/EExBeamMgr.h +++ b/EExBeamMgr.h @@ -40,7 +40,11 @@ class __declspec( novtable) IBeamMgr virtual bool SetPartCount( int nCount) = 0 ; virtual bool SetPartBox( double dLength, double dHeight, double dWidth) = 0 ; virtual int AddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, - const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar) = 0 ; + const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, bool bUpdate = true) = 0 ; + virtual int ModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, + const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, bool bUpdate = true) = 0 ; + virtual bool EraseProcess( int nGeomId, bool bUpdate = true) = 0 ; + virtual bool EnableProcess( int nGeomId, bool bEnable, bool bUpdate = true) = 0 ; virtual bool CalcSolid( int nPartId, bool bRecalc = false) = 0 ; virtual int GetSolid( int nPartId) const = 0 ; virtual bool ShowSolid( int nPartId, bool bShow) = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index b2f97bd..1df4e0b 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -129,7 +129,11 @@ EXE_EXPORT bool ExeBeamSetPartName( const std::string& sName) ; EXE_EXPORT bool ExeBeamSetPartCount( int nCount) ; EXE_EXPORT bool ExeBeamSetPartBox( double dLength, double dHeight, double dWidth) ; EXE_EXPORT int ExeBeamAddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, - const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar) ; + const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, bool bUpdate = true) ; +EXE_EXPORT int ExeBeamModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, + const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, bool bUpdate = true) ; +EXE_EXPORT bool ExeBeamEraseProcess( int nGeomId, bool bUpdate = true) ; +EXE_EXPORT bool ExeBeamEnableProcess( int nGeomId, bool bEnable, bool bUpdate = true) ; EXE_EXPORT bool ExeBeamCalcSolid( int nPartId, bool bRecalc = false) ; EXE_EXPORT int ExeBeamGetSolid( int nPartId) ; EXE_EXPORT bool ExeBeamShowSolid( int nPartId, bool bShow) ;