EgtExecutor 1.6g5 :
- in creazione curve eliminata la normale (si deduce dal riferimento indicato) - in creazione gruppo di inserimento è layer corrente da costante - gestino carattere ' nelle stringhe per lua.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "EXE.h"
|
||||
#include "EXE_Macro.h"
|
||||
#include "AuxTools.h"
|
||||
#include "/EgtDev/Include/EGkExtText.h"
|
||||
#include "/EgtDev/Include/EMkDispositionConst.h"
|
||||
@@ -20,6 +22,29 @@
|
||||
|
||||
using namespace std ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const string
|
||||
IdToString( int nId)
|
||||
{
|
||||
GseContext* pCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX( pCtx, "GDB_ID.NULL")
|
||||
switch ( nId) {
|
||||
case GDB_ID_ROOT : return "GDB_ID.ROOT" ;
|
||||
case GDB_ID_NULL : return "GDB_ID.NULL" ;
|
||||
case GDB_ID_SEL : return "GDB_ID.SEL" ;
|
||||
case GDB_ID_GRID : return "GDB_ID.GRID" ;
|
||||
case GDB_ID_CURRPART : return "GDB_ID.CP" ;
|
||||
case GDB_ID_CURRLAYER : return "GDB_ID.CL" ;
|
||||
default :
|
||||
if ( nId == pCtx->m_nCurrPart)
|
||||
return "GDB_ID.CP" ;
|
||||
else if ( nId == pCtx->m_nCurrLayer)
|
||||
return "GDB_ID.CL" ;
|
||||
else
|
||||
return ToString( nId) ;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const string
|
||||
IdListToString( const INTVECTOR& vIds)
|
||||
@@ -113,6 +138,18 @@ OffsTypeToString( int nOffsType)
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const char*
|
||||
InterpTypeToString( int nIntpType)
|
||||
{
|
||||
switch ( nIntpType) {
|
||||
case ITT_AKIMA : return "GDB_PI.AKIMA" ;
|
||||
default :
|
||||
case ITT_AKIMA_CORNER : return "GDB_PI.AKIMA_CORNER" ;
|
||||
case ITT_BESSEL : return "GDB_PI.BESSEL" ;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
const char*
|
||||
ApproxTypeToString( int nApprType)
|
||||
|
||||
Reference in New Issue
Block a user