Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Does anyone know a way to add a suffix to all parts and sub-assemblies within a top level assembly, without breaking anything?
Thanks
Solved! Go to Solution.
Hi David...
First let me apologize for contuining to refer to the "Save As" command. This has been renamed "Save a Copy". I didn't intend to confuse things more. Sometimes the command names change but my head doesn't get the memo.
There are several options for working with the template during a rename...
In all cases, you specify a template mapping by setting a From and To value. The From value is typically something like "*.*" The asterisk wildcard matches everything so "*.*" essentially matches everything. The To value would incorporate your suffix. A typical To value might be "*_new.*" This would append "_new" to every file matched by the template.
This gives you enough of the basics. If you're still having trouble, let me know and I'll try to explain in more depth.
Thanks!
-Brian
Hi David...
Sure... you can just do a Save As using the template command to rename everything with a suffix added. The template could be from "*.*" to "*-suffix.*" That would save a copy renaming everything to the old name with a dash and the suffix you specified.
If you don't want to save a copy, you can always perform a rename through Pro/INTRALINK or Windchill using the "Set Name" feature which also has a template style rename ability.
If you're not using Pro/INTRALINK... I'd suggest the "Save As" technique. Otherwise, the Intralink/Windchill method is easiest and safest.
If neither of these work for you, explain your situation a bit more. There are a few more ways I can think to accomplish this task but they get progressively more complex and will take longer to explain. The ones above are the easiest.
Thanks!
-Brian
Hi Brian
What is the template command? Where would I find that?
Thanks
Hi David...
First let me apologize for contuining to refer to the "Save As" command. This has been renamed "Save a Copy". I didn't intend to confuse things more. Sometimes the command names change but my head doesn't get the memo.
There are several options for working with the template during a rename...
In all cases, you specify a template mapping by setting a From and To value. The From value is typically something like "*.*" The asterisk wildcard matches everything so "*.*" essentially matches everything. The To value would incorporate your suffix. A typical To value might be "*_new.*" This would append "_new" to every file matched by the template.
This gives you enough of the basics. If you're still having trouble, let me know and I'll try to explain in more depth.
Thanks!
-Brian
Hi Brian,
Thanks, I was able to append and add suffix in windchill using *.* process, I was wondering if you know how i could remove the suffix now, in other words remove common suffix to keep the base on multiple files.
Thanks
Windchill will only allow a single file with a filename. Removing the suffix may cause issues with multiple files having the same name.
Please show an example of what files you need to rename and why. Also the version of Windchill and Creo will help in properly answering any questions.
Using the method that Brian posted I was able to add suffix to multiple file names at once in windchill, now I'm trying to remove the suffix that I added. Just so I know how to go back and forth.
example: 124356_suff >>> 124356
253255_suff >>> 253255
creo version 4
Windchill 11.1