Default Pfad in der setenv.bat für das Projekt ist jetzt c:\kabellaengen. Pause für den Fehlerfall eingebaut

This commit is contained in:
2025-06-26 12:11:15 +02:00
parent bed9000f60
commit bd46fd44e8
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -12,25 +12,28 @@ REM echo Erweiterung: %EXT%
REM echo Verzeichnis: %DIR%
call C:\10-Develop\gitrepos\kabellaengen\bin\setenv.bat
call C:\kabellaengen\bin\setenv.bat
echo --hole Positionen
call getpositions.bat --filename %1 -s -r -w %FILENAME%_positions.json
if not exist "%FILENAME%_positions.json" (
@echo getpositions failed
pause
goto :eof
)
echo --erzeuge Graph mit Routing
call routing.bat --filename %FILENAME%_positions.json -w %FILENAME%_todraw.json
if not exist "%FILENAME%_todraw.json" (
@echo routing failed
pause
goto :eof
)
echo --zeichne Kabel in dxf Datei
call draw_dxf.bat --filename %FILENAME%_todraw.json --new %FILENAME%_cables.dxf -x %FILENAME%_cables.xlsx
if not exist "%FILENAME%_cables.xlsx" (
@echo draw_dxf failed
pause
goto :eof
)