From 0587cfea36f95efbd2c2b7b92605d7df20c584de Mon Sep 17 00:00:00 2001 From: mistangl Date: Thu, 29 Jan 2026 16:40:03 +0100 Subject: [PATCH] Korrektur der Namen zur Verschiebung der erzeugten Fehler und Symboldateien --- .vscode/launch.json | 59 +++++++++++++++++++++------------------------ bin/enumerate.bat | 8 +++--- 2 files changed, 32 insertions(+), 35 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 5f52d75..a82ba1c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -262,8 +262,7 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--filename", - "ST_6300_Steuerungstestlayout1_neueBloecke.dxf", + "--filename", "ST_6300_Steuerungstestlayout1_neueBloecke.dxf", "-s", "-d", "-r" @@ -276,14 +275,10 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--filename", - "easy_todraw_edit.json", - "--new", - "easy_cables.dxf", - "--copy_layer", - "easy_reduziert.dxf", - "--origin", - "easy.dxf" + "--filename", "easy_todraw_edit.json", + "--new", "easy_cables.dxf", + "--copy_layer","easy_reduziert.dxf", + "--origin", "easy.dxf" ] }, { @@ -293,10 +288,8 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--filename", - "ST-Fortna_ASCII_todraw.json", - "-n", - "ST-Fortna_ASCII_cables.dxf" + "--filename", "ST-Fortna_ASCII_todraw.json", + "-n", "ST-Fortna_ASCII_cables.dxf" ] }, { @@ -306,12 +299,9 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--filename", - "test_todraw.json", - "-n", - "test_cables.dxf", - "-x", - "test_cables.xlsx" + "--filename", "test_todraw.json", + "-n", "test_cables.dxf", + "-x", "test_cables.xlsx" ] }, { @@ -321,10 +311,8 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--filename", - "easy_positions.json", - "-w", - "easy_todraw.json" + "--filename", "easy_positions.json", + "-w", "easy_todraw.json" ] }, { @@ -334,10 +322,8 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--filename", - "HundM_coords.json", - "-w", - "HundM_cables.json", + "--filename", "HundM_coords.json", + "-w", "HundM_cables.json", "-g" ] }, @@ -361,8 +347,7 @@ "program": "${file}", "console": "integratedTerminal", "args": [ - "--file", - "easy_3tunnels.dxf" + "--file", "easy_3tunnels.dxf" ] }, { @@ -372,6 +357,18 @@ "program": "${file}", "console": "integratedTerminal", "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" + ] + }, ] } diff --git a/bin/enumerate.bat b/bin/enumerate.bat index b496cfe..1747fa8 100644 --- a/bin/enumerate.bat +++ b/bin/enumerate.bat @@ -6,7 +6,7 @@ for %%i in ("%~1") do ( set "EXT=%%~xi" set "DIR=%%~dpi" ) -call C:\kabellaengen\bin\setenv.bat +call c:\kabellaengen\bin\setenv.bat REM echo Dateiname ohne Erweiterung: %FILENAME% REM echo Erweiterung: %EXT% @@ -24,7 +24,7 @@ if exist "%~dp0_setenv.bat" ( call "%~dp0_setenv.bat" ) REM Zielverzeichnis -set TARGET_DIR=%PROJECT_IO_RESULTS%\%FILENAME% +set TARGET_DIR="%PROJECT_IO_RESULTS%\%FILENAME%" mkdir "%TARGET_DIR%" REM lösche alte Fehlermeldungen del "%PROJECT_WORK%\%ERROR_FILE%" @@ -40,8 +40,8 @@ if exist "%PROJECT_WORK%\%ERROR_FILE%" ( move %PROJECT_WORK%\%JSON_SYMBOLS% %TARGET_DIR% goto :eof ) -echo move %PROJECT_WORK%\%FILENAME%-* %TARGET_DIR% -move %PROJECT_WORK%\%FILENAME%-* %TARGET_DIR% +echo move %PROJECT_WORK%\%FILENAME%_* %TARGET_DIR% +move %PROJECT_WORK%\%FILENAME%_* %TARGET_DIR% pause goto :eof