Files
OnebotCatalog/catalog-masters/KC/_test_step214ug_export.bat

20 lines
494 B
Batchfile

@echo off
cd /d "%~dp0"
echo ==== step214ug.exe: export KC_master.prt to STEP ====
"C:\Program Files\Siemens\NX2506\NXBIN\step214ug.exe" "KC_master.prt" o="E2_export.stp" l="E2_export.log"
echo exit code = %ERRORLEVEL%
echo.
echo ==== output file ====
if exist "E2_export.stp" (
dir "E2_export.stp"
) else (
echo E2_export.stp NOT created
)
echo.
echo ==== log tail (solid count) ====
if exist "E2_export.log" (
findstr /C:"solid" /C:"Total" "E2_export.log"
) else (
echo no log file
)