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).
Costa, help me understand this. Trail mapkey should "call" ptrail mapkey. I do not have to type it after trail mapkey is pefromed? I am busy right now and I do not have time to investigate this but i will get back to you as soon as I check it.
The way I wrote the script, you don´t have to call the mapkey "ptrail" manually, it´s automatic. But, from the info you gave to me, that isn´t happening in your computer. It seems that for for reason, the script calls the first mapkey again ("trail"), it loses the character "p" somewhere in the way.
If you want to break the loop, rename the mapkeys as I suggested, and then it will work in two manual steps:
1st - Call mapkey "t1" to create txa file
2nd - Call mapkey "t2" to play txa file
You can try using the following tip for Dropbox: https://www.reddit.com/r/techsupport/comments/5mthpw/dropbox_how_to_bypass_error_429/