16 lines
329 B
Batchfile
16 lines
329 B
Batchfile
REM @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
|