From 84cd21ec7e95e6147097c7a6ad0412d7e6e004ca Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 31 Dec 2019 16:32:31 +0000 Subject: [PATCH] EgtExecutor : - piccola correzione alla registrazione del comando lua per le quotature. --- EXE_GdbCreate.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/EXE_GdbCreate.cpp b/EXE_GdbCreate.cpp index f3f6b90..c527ef0 100644 --- a/EXE_GdbCreate.cpp +++ b/EXE_GdbCreate.cpp @@ -342,8 +342,8 @@ ExeCreateHorizontalDimension( int nParentId, const Point3d& ptP1, const Point3d& string sLua = "EgtHorizontalDimension(" + IdToString( nParentId) + ",{" + ToString( ptP1) + "},{" + ToString( ptP2) + "},{" + - ToString( ptDim) + "}," + - StringToLuaString( sText) + "','" + + ToString( ptDim) + "},'" + + StringToLuaString( sText) + "'," + RefTypeToString( nRefType) + ")" + " -- Id=" + ToString( nId) ; LOG_INFO( GetCmdLogger(), sLua.c_str()) ; @@ -382,8 +382,8 @@ ExeCreateVerticalDimension( int nParentId, const Point3d& ptP1, const Point3d& p string sLua = "EgtVerticalDimension(" + IdToString( nParentId) + ",{" + ToString( ptP1) + "},{" + ToString( ptP2) + "},{" + - ToString( ptDim) + "}," + - StringToLuaString( sText) + "','" + + ToString( ptDim) + "},'" + + StringToLuaString( sText) + "'," + RefTypeToString( nRefType) + ")" + " -- Id=" + ToString( nId) ; LOG_INFO( GetCmdLogger(), sLua.c_str()) ; @@ -421,8 +421,8 @@ ExeCreateAlignedDimension( int nParentId, const Point3d& ptP1, const Point3d& pt string sLua = "EgtAlignedDimension(" + IdToString( nParentId) + ",{" + ToString( ptP1) + "},{" + ToString( ptP2) + "},{" + - ToString( ptDim) + "}," + - StringToLuaString( sText) + "','" + + ToString( ptDim) + "},'" + + StringToLuaString( sText) + "'," + RefTypeToString( nRefType) + ")" + " -- Id=" + ToString( nId) ; LOG_INFO( GetCmdLogger(), sLua.c_str()) ;