ProTrail

ProTrail is a Windows/DOS tool I created to automate Pro/ENGINEER tasks like:

  • regenerate
  • export
  • print
  • verify
  • etc.

How to use it

The tool must be run from a DOS prompt and is configured via commandline options.

  1. Download it and put it in a folder which is in your path variable (e.g. c:\WINDOWS).
  2. Open a DOS prompt (Start -> Run -> CMD) and run the script.
    start it first with ProTrail -h to get the help.

It's not an easy tool to use becuase it does not have a UI. It was developed for my own use with the option to share it with other Pro/E users.
If you're keen on automating Pro/E tasks this is one of the many tools which can help you with it.

The program creates a Pro/E trailfile which performs specified actions on the objects found.

It has been used with R2001 for a long time and is now being used with Wildfire 2.0.

Examples

  • ProTrail -h
    Show the help screen.
  • ProTrail -e iges -asm -dontrun
    Export iges file for all assemblies; only create the trailfile (don't run it).
  • ProTrail -p "Ghost pdf" -drw
    Print all drawings using you Ghost pdf print command.
  • ProTrail -verify -famtab -prt -foreground
    Verify and Save FamilyTable for every generic part and run in the foreground.
  • etc. ....

Configuration

Download

You are free to use this tool without any charge, but also without any guarantees (see the help for the disclaimer). Please contact me and tell me what you think of it and to report bugs.

History

  • 20070420: v5.29 Added -parexp and -parwu option
  • 20070419: v5.28 Added -trail option
  • 20070417: v5.27 Added -chkvers option
  • 20070411: v5.26 Fixed reading header of PTC files.
  • 20070405: v5.25 Fixed checking PTC files (fileversion, sheetnumbers, etc.)
  • 20060922: v5.23 Fixed crash when running -i option.
  • 20060831: v5.22 Added -singlesheet option
  • 20060823: v5.21 Upgraded -blank option to Wildfire. Added WF2 error with -e pdf.
  • 20060822: v5.20 Added -i option.
  • 20060821: v5.19 Added -workdir option.
  • 20060627: v5.17 TrailDir now uses %TEMP% variable if it exists.
  • 20060616: v5.15 Added -massprop option. Added wildfire3 option.
  • 20060523: v5.14 Commented FREEZE_FAILED_ASSY_COMP YES, since it made certain parts change explode position.
  • 20060301: v5.9 WF2 cmd for Workspace version changed from proewildfire2l to proe1
  • 20060221: v5.8 Changed -e pdf, -e stl, -stl chord and -stl angle option.
  • 20060217: v5.7 First released version