getexdraw sagt dem Nutzer was es tut
This commit is contained in:
+15
-11
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user