Korrektur der Namen zur Verschiebung der erzeugten Fehler und Symboldateien

This commit is contained in:
2026-01-29 16:40:03 +01:00
parent ba02f69f0f
commit 0587cfea36
2 changed files with 32 additions and 35 deletions
+28 -31
View File
@@ -262,8 +262,7 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--filename", "--filename", "ST_6300_Steuerungstestlayout1_neueBloecke.dxf",
"ST_6300_Steuerungstestlayout1_neueBloecke.dxf",
"-s", "-s",
"-d", "-d",
"-r" "-r"
@@ -276,14 +275,10 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--filename", "--filename", "easy_todraw_edit.json",
"easy_todraw_edit.json", "--new", "easy_cables.dxf",
"--new", "--copy_layer","easy_reduziert.dxf",
"easy_cables.dxf", "--origin", "easy.dxf"
"--copy_layer",
"easy_reduziert.dxf",
"--origin",
"easy.dxf"
] ]
}, },
{ {
@@ -293,10 +288,8 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--filename", "--filename", "ST-Fortna_ASCII_todraw.json",
"ST-Fortna_ASCII_todraw.json", "-n", "ST-Fortna_ASCII_cables.dxf"
"-n",
"ST-Fortna_ASCII_cables.dxf"
] ]
}, },
{ {
@@ -306,12 +299,9 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--filename", "--filename", "test_todraw.json",
"test_todraw.json", "-n", "test_cables.dxf",
"-n", "-x", "test_cables.xlsx"
"test_cables.dxf",
"-x",
"test_cables.xlsx"
] ]
}, },
{ {
@@ -321,10 +311,8 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--filename", "--filename", "easy_positions.json",
"easy_positions.json", "-w", "easy_todraw.json"
"-w",
"easy_todraw.json"
] ]
}, },
{ {
@@ -334,10 +322,8 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--filename", "--filename", "HundM_coords.json",
"HundM_coords.json", "-w", "HundM_cables.json",
"-w",
"HundM_cables.json",
"-g" "-g"
] ]
}, },
@@ -361,8 +347,7 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [ "args": [
"--file", "--file", "easy_3tunnels.dxf"
"easy_3tunnels.dxf"
] ]
}, },
{ {
@@ -372,6 +357,18 @@
"program": "${file}", "program": "${file}",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": [] "args": []
} },
{
"name": "create_numbers.py with BGMG.dxf",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": [
"--filename", "BGMG.dxf",
"--errorfile", "BGMG_errors.json",
"--write", "BGMG_symbols.json"
]
},
] ]
} }
+4 -4
View File
@@ -6,7 +6,7 @@ for %%i in ("%~1") do (
set "EXT=%%~xi" set "EXT=%%~xi"
set "DIR=%%~dpi" set "DIR=%%~dpi"
) )
call C:\kabellaengen\bin\setenv.bat call c:\kabellaengen\bin\setenv.bat
REM echo Dateiname ohne Erweiterung: %FILENAME% REM echo Dateiname ohne Erweiterung: %FILENAME%
REM echo Erweiterung: %EXT% REM echo Erweiterung: %EXT%
@@ -24,7 +24,7 @@ if exist "%~dp0_setenv.bat" (
call "%~dp0_setenv.bat" call "%~dp0_setenv.bat"
) )
REM Zielverzeichnis REM Zielverzeichnis
set TARGET_DIR=%PROJECT_IO_RESULTS%\%FILENAME% set TARGET_DIR="%PROJECT_IO_RESULTS%\%FILENAME%"
mkdir "%TARGET_DIR%" mkdir "%TARGET_DIR%"
REM lösche alte Fehlermeldungen REM lösche alte Fehlermeldungen
del "%PROJECT_WORK%\%ERROR_FILE%" del "%PROJECT_WORK%\%ERROR_FILE%"
@@ -40,8 +40,8 @@ if exist "%PROJECT_WORK%\%ERROR_FILE%" (
move %PROJECT_WORK%\%JSON_SYMBOLS% %TARGET_DIR% move %PROJECT_WORK%\%JSON_SYMBOLS% %TARGET_DIR%
goto :eof goto :eof
) )
echo move %PROJECT_WORK%\%FILENAME%-* %TARGET_DIR% echo move %PROJECT_WORK%\%FILENAME%_* %TARGET_DIR%
move %PROJECT_WORK%\%FILENAME%-* %TARGET_DIR% move %PROJECT_WORK%\%FILENAME%_* %TARGET_DIR%
pause pause
goto :eof goto :eof