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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Renaming

cdown
4-Participant

Renaming

Just wondering what is the best pratice for renaming an assembly, sub assembliesand all the parts & drawings in one hit (if possible!!).

No I am not using any file management it's a stand alone machine with just one folder with the files in, is there an easy way to do this whole rename or is it just the long winded way of having everything in session and renaming each individually?

Not worked outside file managment for a few years!! brain fade issues here!!


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
6 REPLIES 6

No joy here, I'm afraid.

Pre- rev 20 or so you could use a text editor to edit the individual
files (especially drawings) to replace the references of the associated
parts/assemblies. Since the 'encoding/compressing' of the file formats,
the only way I know of is to have all in session... The only side
benefit is that if a part or assembly is save-as, the associated drawing
will also be save-as as long as the file names are exactly the same.
Doesn't work for family tables though.



No formal file management for me as well. Just make sure all is in a
sub-directory, make this the working directory, open ALL of the files
and start renaming/saving.





Christopher F. Gosnell



FPD Company

124 Hidden Valley Road

McMurray, PA 15317

Colin/Chris,
I reckon the best way is to open the top assembly - rename it & then in the model tree go and change the names of all the subassemblies & parts ; of course the new names should not be in session or exist in the working directory.
Cheers ......

Shailendra
Melbourne


dgschaefer
21-Topaz II
(To:cdown)

If the naming convention for the assy follows a pattern and you want the
new name to follow a similar pattern, you can easily do this with the
'save as' function.  In other words, if the assy is full of parts with
names like 'AA_this_part' and AA_that _part' and you want 'BB_this_part'
and 'BB_that_part', that's easy.



1.     Open the top level assy. 
2.     Now browse to a new, empty directory (not technically necessary,
but makes things easier).
3.     Click File -> Save a Copy.
4.     Give the assy a new name.
5.     In the save as dialog, select all the parts and subassys that
you want to rename.
6.     Click the 'Use Template' box.
7.     Using Wildcards, enter the template in the boxes below.  In my
example above you'd put in AA_* = BB_*.  That would generate a new assy
with names using the prefix 'BB_' in place of 'AA_'



You now have a copy of the assy with new names.  You can decide whether
to keep the old one or not.



Doug Schaefer
--
Doug Schaefer | Experienced Mechanical Design Engineer
LinkedIn

We need to remember that any assembly that uses one of the components you are renaming, will need to be in memory or the link will be lost.



Everyone has good suggestions, but let's not forget that a component can be used in multiple assemblies.



"Too many people walk around like Clark Kent, because they don't realize they can Fly like Superman"

It's critical that you have the related drawing in session as well, or the drawing link will also be lost.

Bob
cfly
4-Participant
(To:cdown)

Yes; I've done massive renaming operations in the past; every file that
refers to a given part or assembly, including drawings, must be in memory
when the component is renamed and must be saved before exiting. This can be
pretty tricky when there are several assemblies using one component, given
the limit on how many windows can be open; you really should find a way to
document your progress and check off each assembly/drawing in case you have
to close some of the windows, then reopen them from memory to save them.
It's a tedious operation without any sort of file manager, but entirely
doable if you are completely focused and keep good notes on where you are
any time you have to stop for a bit.



Good luck!



efefefefefefef

Applied Research Labs

University of Texas at Austin

Carol Fly

Mechanical Designer

(512) 835-3397

Fax (512) 835-3259

efefefefefefef





_____
Top Tags