diff --git a/scripts/run_creo2urdf.bat b/scripts/run_creo2urdf.bat new file mode 100644 index 0000000..ce21985 --- /dev/null +++ b/scripts/run_creo2urdf.bat @@ -0,0 +1,31 @@ +@echo off + +ECHO Using asm path: %1 +ECHO Using yaml path: %2 +ECHO Using csv path: %3 +ECHO Using output path: %4 + +IF %1.==. GOTO No1 +IF %2.==. GOTO No2 +IF %3.==. GOTO No3 +IF %4.==. GOTO No4 + + +"C:\Program Files\PTC\Creo 9.0.2.0\Parametric\bin\parametric.exe" -g:no_graphics -batch_mode -i:rpc_input creo2urdf +%1 +%2 +%3 +%4 + +GOTO End1 + +:No1 + ECHO asm path not specified, exiting. +GOTO End1 +:No2 + ECHO yaml path not specified, exiting. +GOTO End1 +:No3 + ECHO csv path not specified, exiting. +GOTO End1 +:No4 + ECHO output path not specified, exiting. +GOTO End1 + +:End1