diff --git a/EInAPI.h b/EInAPI.h index dfc455f..46e81ea 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -115,9 +115,26 @@ EIN_EXPORT BOOL __stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath) ; // BeamManager EIN_EXPORT BOOL __stdcall EgtInitBeamMgr( int nFlag) ; +EIN_EXPORT int __stdcall EgtBeamCreatePart( void) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetPart( int nPartId) ; +EIN_EXPORT BOOL __stdcall EgtBeamErasePart( void) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetPartProdNbr( int nProdNbr) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetPartName( const wchar_t* wsName) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetPartCount( int nCount) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetPartBox( double dLength, double dHeight, double dWidth) ; +EIN_EXPORT int __stdcall EgtBeamAddProcess( int nGroup, int nProc, int nSide, const wchar_t* wsDes, int nProcId, + const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], + int nPar, const double vPar[], const wchar_t* wsPar, BOOL bUpdate) ; +EIN_EXPORT int __stdcall EgtBeamModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const wchar_t* wsDes, int nProcId, + const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], + int nPar, const double vPar[], const wchar_t* wsPar, BOOL bUpdate) ; +EIN_EXPORT BOOL __stdcall EgtBeamEraseProcess( int nGeomId, BOOL bUpdate) ; +EIN_EXPORT BOOL __stdcall EgtBeamEnableProcess( int nGeomId, BOOL bEnable, BOOL bUpdate) ; EIN_EXPORT BOOL __stdcall EgtBeamCalcSolid( int nPartId, BOOL bRecalc) ; EIN_EXPORT int __stdcall EgtBeamGetSolid( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtBeamShowSolid( int nPartId, BOOL bShow) ; +EIN_EXPORT BOOL __stdcall EgtBeamGetBuildingIsOn( void) ; +EIN_EXPORT BOOL __stdcall EgtBeamShowBuilding( BOOL bShow) ; // Tsc Executor EIN_EXPORT BOOL __stdcall EgtInitTscExec( void) ; @@ -148,7 +165,7 @@ EIN_EXPORT BOOL __stdcall EgtLuaRequire( const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtLuaGetLastError( wchar_t*& wsError) ; // GeomDB Create -EIN_EXPORT int __stdcall EgtCreateGroup( int nParentId, const double vOrig[3], +EIN_EXPORT int __stdcall EgtCreateGroup( int nParentId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateGeoPoint( int nParentId, const double ptP[3], int nRefType) ; EIN_EXPORT int __stdcall EgtCreateGeoVector( int nParentId, const double vtV[3], const double ptB[3], int nRefType) ;