×
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

Trail Files
2

Trail Files

Trail Files

(OP)
Does anyone know of any way to stop a trail file at a given point while it is running?

I had ProE crash on me and I'd been very bad and not saved for a while, I took out some lines from the trail file and ran it but it still crashed. I don't know how to interperit the Trail file syntax properly so this is a problem too.

It would be great if there was a pause or stop button you could pick to stop at a point where you know everything is ok.

RE: Trail Files

In config.pro file, set option "set_trail_single_step = yes" When you run the trail file in other session, Pro/E ask you whether to continue or exit after each step.
In the session of Pro/E before it get crash, if you have not saved anything, then only it won't crash again otherwise it tends to crash again in case of saved file.

Hope this will help you.
Cheers...

Yogesh Birari
CAE

RE: Trail Files

(OP)
Thanks Yogesh

RE: Trail Files

HI Hayden, When I run trail files, I usually let it go and make note of when it fails. Then I make a copy of the trail file and edit it. I basically delete all the stuff after the target feature I want to stop at. Depending on the size of your model, this can save some time. Please remember that if you move the Pro/E window, the trail file will lose the mouse position.... so never move your actual Pro/E window. I Hope this helps ya, if it does gimme a star!

RE: Trail Files

Changing the filetype to .txa - training file extension and the file will stop with 'out of sequence' when it gets to an error point. There used to be a config option something like trail_oos which could be set to 'no' to prevent unexpected exit. It's gone for version 2001. In 2001 both training and trail files are run from the same menu. In previous versions, they were separate, but neighboring choices.

The main contributor to trail file failure is saving in Pro/E and then re-running the trail file. This can result in trying to delete a non-existant feature, pick a place on a model that has moved because the part or assembly extents have changed, etc.

Dave.

RE: Trail Files

To make sure my trails run smoothly I always set the model to Default orientation and show all the datum planes before saving. That way you can always run them back from the last active save.

Also if you don't want to single step through hundreds of command lines of a trail you may be able to insert the following four lines into the trail where you want to stop playback.

#MISC
#DEBUG
#RUN MODE
1111

It's been a while since I've used this but it should switch to run mode 1111 which you can exit from by typing e for exit and clicking the Check button or Enter key.

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