getexdraw sagt dem Nutzer was es tut

This commit is contained in:
2025-05-20 16:22:44 +02:00
parent bf6cb53c2e
commit 7f0579fd9a
+15 -11
View File
@@ -1,15 +1,19 @@
REM @echo off
@echo off
if [%1]==[] goto usage
goto :doit
:usage
@echo Usage: %0 ^<dxfinWorkOrdner.dxf^>
REM exit /B 1
goto :eof
:doit
for /F %%i in ("%1") do set FILENAME=%%~ni
getpositions.bat --filename %1 -s -r -w %1
routing.bat --filename %FILENAME%.json -w todraw.json
draw.bat --filename todraw.json --new %FILENAME%_cables.dxf
echo --hole Positionen
call getpositions.bat --filename %1 -s -r -w %1
echo --erzeuge Graph mit Routing
call routing.bat --filename %FILENAME%.json -w todraw.json
echo --zeichne Kabel in dxf Datei
call draw_dxf.bat --filename todraw.json --new %FILENAME%_cables.dxf
:usage
@echo Usage: %0 ^<dxfinWorkOrdner.dxf^>
exit /B 1
goto :eof