-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |