EgtExecutor :

- piccola correzione alla registrazione del comando lua per le quotature.
This commit is contained in:
Dario Sassi
2019-12-31 16:32:31 +00:00
parent 80b405a1e6
commit 84cd21ec7e
+6 -6
View File
@@ -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()) ;