20 lines
519 B
Batchfile
20 lines
519 B
Batchfile
@echo off
|
|
REM ================================================================
|
|
REM Konvertiert die xml Dateien in awl Dateien
|
|
REM
|
|
REM ================================================================
|
|
|
|
call "%~dp0setenv.bat"
|
|
|
|
REM .venv bevorzugen, sonst System-Python
|
|
set "PYTHON=python"
|
|
if exist "%PROJECT%\.venv\Scripts\python.exe" (
|
|
set "PYTHON=%PROJECT%\.venv\Scripts\python.exe"
|
|
)
|
|
|
|
"%PYTHON%" "%PV_LIB%\stlxml2awl.py" %*
|
|
if errorlevel 1 (
|
|
echo FEHLER: stlxml2awl.py wurde mit Fehler beendet.
|
|
exit /b 1
|
|
)
|