diff --git a/EInAPI.h b/EInAPI.h index 38c24f8..bccb95e 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -249,6 +249,8 @@ EIN_EXPORT int __stdcall EgtGetFirstLayer( int nPartId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetNextLayer( int nId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetLastLayer( int nPartId, BOOL bOnlyVisible) ; EIN_EXPORT int __stdcall EgtGetPrevLayer( int nId, BOOL bOnlyVisible) ; +EIN_EXPORT int __stdcall EgtGetFirstGhostPart( void) ; +EIN_EXPORT int __stdcall EgtGetNextGhostPart( int nId) ; EIN_EXPORT BOOL __stdcall EgtEraseEmptyParts( void) ; EIN_EXPORT BOOL __stdcall EgtSelectPartObjs( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtDeselectPartObjs( int nPartId) ; diff --git a/EMkMachMgr.h b/EMkMachMgr.h index e2e74da..af4edb7 100644 --- a/EMkMachMgr.h +++ b/EMkMachMgr.h @@ -63,6 +63,7 @@ class __declspec( novtable) IMachMgr virtual int GetRawPartCount( void) const = 0 ; virtual int GetFirstRawPart( void) const = 0 ; virtual int GetNextRawPart( int nId) const = 0 ; + virtual bool IsRawPart( int nId) const = 0 ; virtual int AddRawPart( const Point3d& ptOrig, double dLen, double dWidth, double dHeight, Color cCol) = 0 ; virtual int AddRawPartWithPart( int nPartId, int nCrvSrfId, double dOverMat, Color cCol) = 0 ; virtual bool ModifyRawPart( int nRawId, const Point3d& ptOrig, double dLen, double dWidth, double dHeight, Color cCol) = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 9f9cb7e..7ee36cf 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -280,6 +280,8 @@ EXE_EXPORT int ExeGetFirstLayer( int nPartId, bool bOnlyVisible) ; EXE_EXPORT int ExeGetNextLayer( int nId, bool bOnlyVisible) ; EXE_EXPORT int ExeGetLastLayer( int nPartId, bool bOnlyVisible) ; EXE_EXPORT int ExeGetPrevLayer( int nId, bool bOnlyVisible) ; +EXE_EXPORT int ExeGetFirstGhostPart( void) ; +EXE_EXPORT int ExeGetNextGhostPart( int nId) ; EXE_EXPORT bool ExeEraseEmptyParts( void) ; EXE_EXPORT bool ExeSelectPartObjs( int nPartId) ; EXE_EXPORT bool ExeDeselectPartObjs( int nPartId) ; @@ -601,6 +603,7 @@ EXE_EXPORT int ExeGetPhaseCount( void) ; EXE_EXPORT int ExeGetRawPartCount( void) ; EXE_EXPORT int ExeGetFirstRawPart( void) ; EXE_EXPORT int ExeGetNextRawPart( int nRawId) ; +EXE_EXPORT bool ExeIsRawPart( int nRawId) ; EXE_EXPORT int ExeAddRawPart( Point3d ptOrig, double dLength, double dWidth, double dHeight, Color cCol) ; EXE_EXPORT int ExeAddRawPartWithPart( int nPartId, int nCrvId, double dOverMat, Color cCol) ; EXE_EXPORT bool ExeModifyRawPart( int nRawId, Point3d ptOrig, double dLength, double dWidth, double dHeight, Color cCol) ;