Skip to content

Commit

Permalink
Add run_creo2urdf.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogene committed Apr 5, 2024
1 parent 89a77b1 commit a9b4f9d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions scripts/run_creo2urdf.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a9b4f9d

Please sign in to comment.