Batch script: Convert STEP to PRT and vice versa
Batch script: Convert STEP to PRT and vice versa
(OP)
Hey,
I am new to UG NX. I am working on a batch script which translates STEP file to PRT file. This I do it using STEP214UG.cmd. Apparently it works, but it fails to convert PRT to STEP. Any pointers???
Am using UG NX 7.0.
I am new to UG NX. I am working on a batch script which translates STEP file to PRT file. This I do it using STEP214UG.cmd. Apparently it works, but it fails to convert PRT to STEP. Any pointers???
Am using UG NX 7.0.





RE: Batch script: Convert STEP to PRT and vice versa
Set UGII_BASE_DIR=C:\Program Files\UGS\NX 7.0
Set UGII_ROOT_DIR=C:\Program Files\UGS\NX 7.0\UGII\
Set Path=%path%;C:\Program Files\UGS\NX 7.0\UGII\
"C:\Program Files\UGS\NX 7.0\STEP203UG\step203ug.cmd" test.stp O= test.prt
RE: Batch script: Convert STEP to PRT and vice versa
STEP > PRT works alright, but PRT to STEP does not work.
Can you pls help.
RE: Batch script: Convert STEP to PRT and vice versa
For importing step214, the def file is d=%UGII_BASE_DIR%\step214\step214ug.def
For exporting step214, the def file is d=%UGII_BASE_DIR%\step214\ugstep214.def
I just ran this on my system
Set UGII_BASE_DIR=C:\Program Files\UGS\NX 7.0
Set UGII_ROOT_DIR=C:\Program Files\UGS\NX 7.0\UGII\
Set Path=%path%;C:\Program Files\UGS\NX 7.0\UGII\
"C:\Program Files\UGS\NX 7.0\STEP203UG\step203ug.cmd" test.prt O=c:\temp\step214\test.stp d="C:\Program Files\UGS\NX 7.0\STEP214UG\ugstep214.def"
RE: Batch script: Convert STEP to PRT and vice versa