Skip to main content
1-Visitor
March 23, 2012
Question

How to re-associate a drawing with a model that has been re-named?

  • March 23, 2012
  • 3 replies
  • 8084 views

Hi all

Does anyone know how to re-associate a drawing with a model if the drawing cannot find the model because the name has changed? When I open the drawing it just closes again. WF5.

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.

3 replies

1-Visitor
March 23, 2012

Hi

When you open the drawing it will ask for a specific part number.

Note that part number.

then close the drawing.

Now open the renamed part(if you remember which was the associated part)

Rename or save as the part to the old name(you have noted from the drawing)

Now open the drawing

If you have any doubt please reply

Regards

K.Mahanta

1-Visitor
May 11, 2012

Hi,

You are telling someting like doing a correction. But what if that is the intended requirement? I mean what if genuinely the part file name needs to be what it is changed to and the drawing should simply refer the new file name. How to do that?

And moreover if you use intralink or Windchill PDM then the dynamics would change even more i guess.

Although i have a different issue but it appears to be somewhat related to this original query so i thought of continuing based on the above discussion.

Regards,

Mohan

1-Visitor
May 12, 2012

Hi

If you will work in proper sequence then association will never break.

If you are talking about part and drawing association:-

1.Open the part

2.Open the drawing

3.Rename the part

4.(Rename the drawing if required)Regenerate and save the drawing

This process will not break the assocition.

If you rename the part without opening the drawing(drawing not in session) then the association will be broken.

In this situation you have to follow the steps I have suggested in earlier reply

(After reassociation you can again rename back the required name)

Regards

K.Mahanta

1-Visitor
May 23, 2012

Working even with PDM link (near kshetrabasi mahanta solution):

1. Note the name of the part the drawing refers to.

2. Open the renamed part.

3. Rename the part in session with the old name.

4. Open the drawing.

5. Rename the part in session with its new name (thus this is still the part that is in PDMlink).

6. Save the drawing (now refering to the renamed part).

7. You could check-in the new iteration of the drawing. It will now refer to the renamed part.

13-Aquamarine
May 24, 2012

Also David...

Check the status of the config.pro option rename_drawings_with_object to both. In the future if you're renaming a part or assembly, the drawing with automatically rename. This also works for saving a copy of the part/assembly. As long as the drawing is in the current working directory, this option does well.

You'll still have to use one of the techniques mentioned above to fix the problem you have now. But in the future this can stop it from happening again.

Thanks!

-Brian

1-Visitor
May 25, 2012

Brian,

the drawing must be in session, tested in WF4, WF5, Creo1 M020, else renaming will not do. For saving a copy you are right.

Reinhard

13-Aquamarine
May 25, 2012

I've actually only ever used it for saving a copy. I must have been mistaken that it also worked for a rename. The techniques the other people above have recommended should work. There was a time when you could open the drawing file in a text editor and just replace the model names and have it work. Sadly, we're beyond that now.