Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Is there a good way to inject a new System of Units into an existing part? existing assembly? Customer requested a change in reporting which requires different units, but I have maybe a couple hundred parts and assemblies to do. Mapkey is not super consistent, so wondering if there is a good way to import?
Creo 9. Am I missing something on the dialog box?
Solved! Go to Solution.
Take a look at how to prepare the trail file:
It is a relatively easy process: in Notepad++, open a trial file of your current session, then in Creo, do what you have to do, return to the trial file, copy what was added to that file, and paste it into a new text file with the obligatory header.
Good luck!
Hi,
I would use mapkey that runs a trail file that executes your procedure.
The next step would be running it in a distributed batch.
Cheers!
Thank you. That is an interesting idea I will have to look into. I have run trail files, but not as part of a process. Do you edit the trail file to include only the bits you need?
I've done this type of thing before, too. The basic method is to:
(1) Start a fresh Creo session- this will start a new trail file wherever you have them being written.
(2) Execute the commands to do one complete sequence of the task you want to repeat. Load file in, run stuff on it, save altered file, etc.
(3) Close the file you opened. This is important so you don't run up against the limit on the number of files that can be open at one time, whatever that is.
(4) Exit Creo, which ends the current trail file.
(5) Copy the trail file (the one with the largest extension, like trail.txt.444 or whatever. Copy it to another file with the .txt extension.
(6) Edit the trail file, copying and pasting the sequence of commands as many times as you need for all the files.
(6) Replace the file name for each consecutive group of commands with each file name you want to process.
Once the trail file is done, you can start Creo and load the trail file to run it.
It's best to try out the trail file on a single file, copied from one of your original ones, to make sure you're not making any errors that could damage your data.
If you look about on these forums, you'll find past discussions of this that give other ideas on how to utilize this method.
Take a look at how to prepare the trail file:
It is a relatively easy process: in Notepad++, open a trial file of your current session, then in Creo, do what you have to do, return to the trial file, copy what was added to that file, and paste it into a new text file with the obligatory header.
Good luck!
Using a trail file like this is quite interesting. I have not seen trail files used in small chunks like that before, so thank you very much for sharing it. After some exploration I think this will work. I still have some finesse needed to make it run more smoothly, but thank you for the direction. Thank you also for the video link.
Are you aware that you can save analysis features which can be reported in a unit system different from that assigned to the model? This may let you generate the data needed without changing the unit system of a model. What needs to be reported in the alternate units? If this is something common across the models, then it may be more easily "automated" with the addition of analysis features or saved analyses.
No, I did not know that. Always more to learn. I will have to look into this. Thank you.