Not sure of what you want to know.
Creo creates trailfiles that record everything you do inside of creo. You can use them for recovery purposes in case of crash. But you can also use the code to control Creo.
For example, opening a file appears something like this in trail file:
~ Command `ProCmdModelOpen`
~ Update `file_open` `Inputname` `prt1.prt`
~ Activate `file_open` `Open`
So, if you replace "prt1.prt" with other partnames you will be able open multiple parts with one trailfile.
So, basicly, what do we need to create a custom file:
- A list of files
- A file with code from trails to execute inside of it
- A tool to join this info into a single text file.
The list of files, I was too lazy to built a interface, so I capture the list from Creo fileopendialog. This was the easiest way for me, you can pre-filter by type (Prt, Drw,Asm, instances...), and then it opens the prefiltered list in notepad, where you can choose one by one. This list is saved in file_list.txt.
The code to execute inside of the files, you can create your own from trailfiles. I created some just for example, but everyone has different needs, so the best is to customize them. They are inside of C:\TrailMaker\trails.
Now I have a list of files and a file with code to run inside of each one. I can create a file mannualy with copy/paste but that´s gonna take a while.
So I create a script in Autoit that creates file run_trail.txa, and:
Writes header
Writes file open prt1
Writes trail code
Writes file open prt2
Writes trail code
Writes file open prt3
Writes trail code
..... until last file
Then all is needed is to run trailfile run_trail.txa.
You can create your customized trails and change the header, so I believe this is a interesting tool that can be used in all versions of Creo and Pro-e.
I hope I has been clear.
Jose