×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Unable to fully process batch file for STEP to PRT

Unable to fully process batch file for STEP to PRT

Unable to fully process batch file for STEP to PRT

(OP)
Sorry if this is a similar repeat, but I was unable to reply thread561-302702: Batch script: Convert STEP to PRT and vice versa.

Can someone tell me what I'm doing wrong with this batch file (small example in txt format)? Each line has the identical syntax, with the exception of the file name I'm processing. I can only get the first line to process the step to prt output, and then it fails to process the remaining batch items.

I have tried "backspacing" lines 2,3,4 & 5 so that there isn't a "linefeed" between each line. (Everything runs together.) When I try that, only the last item in the batch file will process.

What am I doing wrong?

J. Tuttle
Senior Designer
Weir Minerals Lewis Pumps
St. Louis, MO

RE: Unable to fully process batch file for STEP to PRT

Try using the external STEP translator to do a batch translation.
To Get there in WINDOWS:
START -> ALL PROGRAMS -> SIEMENS NX -> TRANSLATORS -> STEPAP214 -> IMPORT

RE: Unable to fully process batch file for STEP to PRT

(OP)
jerry1423 - Using the STEP translator as suggested presents a problem in itself. It doesn't work for me. I'm sure you've seen this error before but I'll post it anyway...

The Java Runtime Environment (JRE) was not found. Install your own JRE and set UGII_JAVA_HOME in C:\SPLM\NX85\ugii\ugii_env.dat to the directory containing the bin and lib directories. Press any key to continue...

And then it quits. I am on a Tier-4 network and corporate will not allow us to alter the ugii_env.dat file.
Therefore, I am trying this workaround method, which would probably work if I can find the solution.

I can either read the log file after running the bat file, or read it directly off the DOS screen as it's running to see the type of error(s) I'm getting. I have tried putting a REM in front of several lines to see what happens and letting it export at least 1 or 2 that don't have REM lines. The error I'm getting is:
THE FILE NAME, DIRECTORY NAME, OR VOLUME LABEL SYNTAX IS INCORRECT.

I have reordered the lines to test the naming convention, etc., and the results are the same. It usually exports whichever file it sees first and then quits. It just doesn't want to continue the next line.

Translator exiting...

Any other suggestions?

J. Tuttle
Senior Designer
Weir Minerals Lewis Pumps
St. Louis, MO

RE: Unable to fully process batch file for STEP to PRT

I worked at the Weir Minerals in Waukesha, WI for five years

RE: Unable to fully process batch file for STEP to PRT

(OP)
After tracking a user down, named Moudy, in a different website forum, I got his attention and he was able to help me fix this!

The solution to this batch problem, is to append the DOS command CALL to each and every line inside the batch script!
REF: https://community.plm.automation.siemens.com/t5/Of...


EXAMPLE:

call "C:\SPLM\NX85\...
call "C:\SPLM\NX85\...

This will now generate all the STEP files to PRT files!

Thanks again Moudy!

J. Tuttle
Senior Designer
Weir Minerals Lewis Pumps
St. Louis, MO

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources