Skip to main content
1-Visitor
October 31, 2013
Solved

Rename part & drawing with dissimilar names

  • October 31, 2013
  • 1 reply
  • 23251 views

A quick search of the web tells me that this question has been asked many times before but none of the solutions I have found work for me and assume that the part and drawing are named the same.

I am running Pro-E Wildfire 5 and have a drawing abc.drw that calls part def.prt. I want to rename my drawing and part so that ghi.drw calls part ghi.prt.

I have tried opening both together then selecting File > Rename for the part with "Rename on disk and in session" set. Although ghi.prt is selected this does not create a ghi.prt file. Instead it keeps the def.prt file and updates the drawing model tree to call ghi<def>.prt.

If I do something similar for the drw file. i.e File > Rename > Rename on disk and in session then I do get a ghi.drw file but it still calls the def<ghi>.prt.

How do I rename my PRT file?

I am a pro-E novice, so would appreciate anyone who can help spell out the steps.

Thanks


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.
Best answer by dgschaefer

You definitely have a family table. When you see a part name like this:

instance<generic>.prt

That indicates a family table driven part. The generic name is in the brackets, the instance name is before.

So, am I correct in assuming that you have generic master part 1150137912 with a version 1076336763 and it's flat 1076336763_flat. You want to create a new version of 1150137912 but keep 1076336763 and the flat. Correct?

If so, it's a bit complicated, but not too bad. Try this:

  1. Open the drawing and save it as a new name. We'll come back to it later.
  2. Open the generic 1150137912.
  3. Open the family table inside the generic by going to tools > family table. It looks a bit like excel, but it's not as friendly. Each row represents an instance, each column a variable item. It could be a feature turned on and off or a dimension to vary. Your table likely has two instances (or maybe more) and at least one column, the flat pattern or unbend feature to make the flat.
  4. Click in the part name cell for the last row (instance) and hit enter. That creates a new row and a new instance. Type in the name you want.
  5. Hit enter again and type in the name of the flat for the new part.
  6. Now, duplicate the entries in each column from the old part to the new. For example, the old will have "N" in the unbend, your new should have "N" in the unbend. The old flat will have "Y" in the unbend, your new flat should have "Y" in the unbend. This will give you duplicates of the original instance and flat.
  7. Select the column to the left of the unbend. Click the "insert column" icon on the toolbar. It should be next to the binoculars. This brings up a dialog box.
  8. In the dialog, at the bottom select "feature". now select the flange you want to remove from the new instance.
  9. Select OK.
  10. All the cells in the new column will have * in them. This means that it is just like the generic. If suppressed in the generic, it will be in the instance. You want it to say "Y" for all the old instances and "N" for the new. Keep in mind, removing this from the instance will also remove all its children from the instance.
  11. Click OK in the Family Table dialog. You've just made two new instances.
  12. Save
  13. Go back to the new copy of your drawing. You now need to replace the models with the new instances you created. Right click in an empty part of the drawing and select 'Drawing Models'. In the pop up menu, select replace. Pick the model you want to replace and then the corresponding new family table instance you just created. I'm assuming your drawing has both a formed and flat state, so you'll have to do this for each.
  14. Save and then clean up your drawing as needed.

You now have the new instances in your existing generic with the old. I typed this up with WF5 open, so it ought to be accurate, but I did do it rather quickly. Let me know if you have more questions.

1 reply

17-Peridot
October 31, 2013

You're close. You are probably holding your tongue wrong when you renamed the part file. It could well be that there is a working folder issue in the way.

I do this all the time for drawing revisions where I change both the model and drawing names.

This is -my- process; although you will likely get other tips as well. I just stick to the roots of how Pro|E works.

Open the original drawing

File>save-as>backup ...into a temporary folder. This saves everything!

Close the drawing

Erase not displayed (and nothing is displayed)

Change working folder to the temp backup folder

Open the drawing

Open the part from the drawing

Rename the part file

Save the part file

Close the part file

(Drawing file now active) Rename the drawing file (note it is now calling for the new part file)

Save the drawing file

Close the drawing file

Erase not displayed (again, nothing is being displayed)

In Windows Explorer, move the two new files to your normal working folder or into one of the search path folder.

Set you working folder to where it normally is

Open the drawing - this is now the new drawing name and it calls the new model as well.

This is all really easy once you get use to it. I am so use to it I don't even think about it (don't even realize how many steps are involved!). I don't use any of the new interfaces other than to just accept all the way through.

17-Peridot
October 31, 2013

..and welcome to the forum!

1-Visitor
October 31, 2013

Thanks Antonius for your quick response. I must be holding my tongue the wrong way because I still have troubles. What you described is basically what I was doing, and I have repeated your exact steps just to be sure. The trouble is that when I rename the PRT file it doesn't create a PRT file with the name specified and where you had

(note it is now calling for the new part file)

I get NewName<OldName>.prt

i.e. It saves the part, when I attempt to rename, under the OldName and just gives it a NewName reference. This is what is driving me balmy (and probably the reason why my tongue is hanging out in the first place .