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:
+4
-1
@@ -12,25 +12,28 @@ REM echo Erweiterung: %EXT%
|
|||||||
REM echo Verzeichnis: %DIR%
|
REM echo Verzeichnis: %DIR%
|
||||||
|
|
||||||
|
|
||||||
call C:\10-Develop\gitrepos\kabellaengen\bin\setenv.bat
|
call C:\kabellaengen\bin\setenv.bat
|
||||||
|
|
||||||
|
|
||||||
echo --hole Positionen
|
echo --hole Positionen
|
||||||
call getpositions.bat --filename %1 -s -r -w %FILENAME%_positions.json
|
call getpositions.bat --filename %1 -s -r -w %FILENAME%_positions.json
|
||||||
if not exist "%FILENAME%_positions.json" (
|
if not exist "%FILENAME%_positions.json" (
|
||||||
@echo getpositions failed
|
@echo getpositions failed
|
||||||
|
pause
|
||||||
goto :eof
|
goto :eof
|
||||||
)
|
)
|
||||||
echo --erzeuge Graph mit Routing
|
echo --erzeuge Graph mit Routing
|
||||||
call routing.bat --filename %FILENAME%_positions.json -w %FILENAME%_todraw.json
|
call routing.bat --filename %FILENAME%_positions.json -w %FILENAME%_todraw.json
|
||||||
if not exist "%FILENAME%_todraw.json" (
|
if not exist "%FILENAME%_todraw.json" (
|
||||||
@echo routing failed
|
@echo routing failed
|
||||||
|
pause
|
||||||
goto :eof
|
goto :eof
|
||||||
)
|
)
|
||||||
echo --zeichne Kabel in dxf Datei
|
echo --zeichne Kabel in dxf Datei
|
||||||
call draw_dxf.bat --filename %FILENAME%_todraw.json --new %FILENAME%_cables.dxf -x %FILENAME%_cables.xlsx
|
call draw_dxf.bat --filename %FILENAME%_todraw.json --new %FILENAME%_cables.dxf -x %FILENAME%_cables.xlsx
|
||||||
if not exist "%FILENAME%_cables.xlsx" (
|
if not exist "%FILENAME%_cables.xlsx" (
|
||||||
@echo draw_dxf failed
|
@echo draw_dxf failed
|
||||||
|
pause
|
||||||
goto :eof
|
goto :eof
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
REM ~dp0 steht für das Verzeichnis, in der diese Datei liegt
|
REM ~dp0 steht für das Verzeichnis, in der diese Datei liegt
|
||||||
pushd %~dp0\..
|
pushd %~dp0\..
|
||||||
|
|
||||||
set PROJECT=C:\10-Develop\gitrepos\kabellaengen
|
set PROJECT=C:\kabellaengen
|
||||||
set PROJECT_BIN=%PROJECT%\bin
|
set PROJECT_BIN=%PROJECT%\bin
|
||||||
set PROJECT_CFG=%PROJECT%\cfg
|
set PROJECT_CFG=%PROJECT%\cfg
|
||||||
set PROJECT_DOC=%PROJECT%\doc
|
set PROJECT_DOC=%PROJECT%\doc
|
||||||
|
|||||||
Reference in New Issue
Block a user