Global rename of drawing templates
I have an assembly that is configurable via Pro/Program (modified dimensions, substituted parts, etc. Lets call it "widget1.asm". It contains about 100 parts in total, and can be configured in virtually countless ways.
Under this assembly are all of the possible parts, depending on the configuration.
widget1_part_a.prt
widget1_part_b.prt
widget1_bolt.prt
etc
Using a program parameter called "ignore_program", along with an "or" operator on all of the program statements, it's easy enough to get all of the parts assembled at once and and then perform a save-as in order to create a complete independently configurable copy, such as "widget2.asm", along with all of it's "widget2_xxx" parts.
Here's my problem...
I also have 117 drawing templates, which are obviously not all named "widget1.drw". 🙂 More like:
widget1_config1.drw
widget1_config2.drw
widget1_no big hole.drw
widget1_extra_toast.drw
etc.
So... how do I get a new independent copy of the assembly, parts, and drawing templates, without having to load 117 drawings into memory, rename and save the assembly/parts, and then manually rename and save all of those templates one at a time? (I actually need 4 versions of widget, to incorporate into a higher level assembly. So, imagine that process times 4...every time we change the widget design in some minor way. 😬)
The only thing I can come up with is to maybe make a trail file for loading, regenerating, and saving all of the templates after the assembly has been renamed and is still in session, but even that is tedious. (not sure about renaming them also).
I sure miss the very early days when Pro/E's database files were ascii text. 🙂

