This is my contribution to Creo Community. A script for creating customized trailfiles in Creo.
Usefull for batch conversions, printing, etc..
Tell me what you think.
It´s good to have some feedback, short, but some
I was starting to think that I was the only guy in the world that needs to convert multiple files at a time, now we are at least two.
Any problems setting it up?
Here some ideas that you can make the script work for you:
Export multiple parts to Step/Iges
Import multiple Iges/Steps to Prt´s
Export multiple Drawings to DXF/DWG/PDF
Export/verify all instances of a family table
Bring multiple parts/drawings into session
Plot a lot of drawings
Run a mapkey
Modify Units/Mass Properties
Create Jpeg´s of multiple parts
Mix all this together...
Lots of possibilities.
Very usefull functions! For a large assembly,It's difficult to add /delete parameters &relations,But I find a way,that use EMX to deal with the large assembly.EMX can deal with a general assembly(by using "modify" to activat EMX )
It does not work on my PC/Creo. Everything is OK until I select trail file. It immidiately loop back to the begining, asking to filter desired files. File_list.txt file is present in trail folder. I do not know what went wrong.
everything is set per your read_me file.
What version do you use?
The file header.txt contains the header of the trailfile. I´m using Creo 2 M030. If you´re using another version, then:
Open a trailfile of yours and copy the first two line, paste them in header.txt:
Also check in folder c:\trailmaker if file run_trail.txa has been created.
And which trailfile are you selecting?
I don´t know what´s going on there...
But it seems that the most important is done: the creation of the .txa file.
All you have to do in Creo is play the trailfile C:\TrailMaker\run_trail.txa
I suggest editing your config.pro and rename the mapkeys.
mapkey "trail" rename to "t1"
mapkey "ptrail" rename to "t2"
Save config.pro, restart Creo, set work directory, call mapkey t1 (this will create txa file), call mapkey t2 (this will run the txa file).