Quantcast
Channel: PTC Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 11539

Automation help

$
0
0

I'm currently running Pro/E WF4.0 and I need some help trying to automate a batch process. Due to various reasons, I'm forbidden from using J-Link, WebLink, or the VB API so I need to get it all working with trail files and/or mapkeys.

 

Here is a quick run down of what my batch process does/should do:

 

1. Calls a Python script to generate a file selection dialog where the user can pick multiple drawings (working 100%).

2. Generates a Trail file using the file list in step 1 (sort of working).

3. Runs the trail Trail file to automate the whole process for the user (completely broken because of mapkey).

 

The main problem that I'm having is that step 2 needs to call a mapkey that has a pause for the user to modify a parameter and it breaks the whole trail file. Basically, it will open the first file and run the mapkey but after that it just opens the files without the mapkey.

 

I tried another approach to this problem by generating a mapkey file rather than a trail file which works, but I'm afraid that loading/unloading the mapkey can cause some problems.

 

Anyone have any tips/pointers on how to get the trail file to work with mapkeys or should I just go the mapkey file route?


Viewing all articles
Browse latest Browse all 11539

Trending Articles