cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

TrailMaker Script

Participant

TrailMaker Script

Hi everybody,

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.

Cheers

https://www.dropbox.com/s/nprv7wx6u2iog2n/TrailMaker.zip?dl=0

Video Link : 5254

15 REPLIES 15

Re: TrailMaker Script

amazing

Re: TrailMaker Script

Hi Duncan,

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

Change/add/delete Parameters

Modify Units/Mass Properties

Create Jpeg´s of multiple parts

Mix all this together...

Lots of possibilities.

Jose

Re: TrailMaker Script

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 )

Re: TrailMaker Script

Jose,

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.

Re: TrailMaker Script

Hi,

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:

C__Users_tony_AppData_Local_Temp_Temp1_TrailMaker.zip_TrailMaker_header.txt+-+Sc_2014-09-11_20-23-58.png

Also check in folder c:\trailmaker if file run_trail.txa has been created.

And which trailfile are you selecting?

Jose

Re: TrailMaker Script

I am using Creo 2.0 M110. txa file is created.I tried dwg, dwx and pdf and on all were the same.

Re: TrailMaker Script

If txa files has been created, try calling mapkey "ptrail".

Re: TrailMaker Script

Same thing. It lops back to the beggining.

Re: TrailMaker Script

Hi Danilo,

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).

Jose

Announcements