Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pro/Batch outputted file location ? 1

Status
Not open for further replies.

Cadbhoy

Mechanical
May 18, 2004
34
Hello fellow Cad users!

I am having a bit of bother with Pro/Batch.(Pro/e 2001)
I have followed the guide in the PTC Knowledge base but alas no luck.

Trying to batch process a load of .prt files to STEP files.
In Pro/Batch I select the files > select STEP > enter a name for the batch file (I presume) > Enter the Proe command line > then hit save.

When I tell it do the job, I get the box with the timer and there is a delay before the "status" changes from Running to Done and "Result" from none to Done.

So it would appear it is processing the files.
Problem is I can't find the outputted files, leading me to believe it isn't processing the files.

I do find the batch file name I enter in the same directory as the Proe start command (E:ptc\proe2001\bin\)

I am out of ideas! [sad] Can anybody help ?

 
Replies continue below

Recommended for you

Cadbhoy:

I recently went through the ProBatch learning curve myself.
I was batching plt files in order to get pdfs from them. I
believe the type of file is irrelevant. I found the files
being put in the ProE installation directory. I am not sure
how to get them put elsewhere. In order to find the files I
batched one file. After the timer was done, I did a file
search on that same file with the following: filename*.* in
the Windows file/folder search function. It showed up in
the installation directory.

Hope that helps!

ndyer
 
About a year ago I did wome consulting work for a company who wanted to use Pro/Batch in 2001.

If you write a DOS batch file (*.bat) which executes Pro/Batch using command lines (text mode), you can create a shortcut to this file on your desktop or within a folder. Right click on the shortcut and change the "Start in:" option to te directory to which you want the output files to exist (temporarily, as the batch file itself copies them to somewhere else if you need to), and to indicate a location for a startup config.pro file.

The batch file itself needs to call up Pro/Batch in text mode. it would look something like:

**begin**
---
call pro_batch -text proe2001 -batchfile [saved batch settings]
copy *.plt [desired output directory]
del *.plt
pause
---
**end**

Replace proe2001 with whatever command line gets pro/E started.

If you are using this to plot drawings, make sure that a config.pro file sits in the startup directory (indicated in the batch file shortcut settings). The config.pro file should remove the datum display. Copy and paste the options below if you like.

datum_display no
datum_point_display no
datum_point_tag_display no
spin_center_display no
axis_display no
display_coordinate_sys no

[saved batch settings] refers to a file which is set up before hand in the Pro/Batch GUI mode (the screen you get when you execute pro_batch on its own).

This example refers to plot files (*.plt) but can be applied to any other type of file that Pro/Batch can spit out by changing the extension.

Hope it helps

[cheers]

Mark Morreale
MCAD Specialist
Torgon Industries Incorporated
 
Cheers guys [thumbsup2]

I was looking for the files in the Proe start directory, but it seemed to be hit and miss. Sometimes files would appear there sometimes not. I figured out it was always creating Step files for parts but not some assy's.

I checked the engineers assemblies and low and behold they were falling down B-(

"How TF can I create a STEP file out of a failed assembly?" I asked him [sadeyes]

Anyway, I'll play around with the batch file posted by justkeepgiviner, if it means less contact with the moron users here it will be invaluable [thumbsup2]

Thanks again to the guys who replied. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor