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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Drawing file fails to locate renamed part file

Kishore_K
15-Moonstone

Drawing file fails to locate renamed part file

Drawing file is not opening if its part model is renamed, it says "Model <filename.prt> is not in this directory". How to maintain the reference between the part models and its drawing files?


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.
8 REPLIES 8
StephenW
23-Emerald III
(To:Kishore_K)

You must have the drawing "in session" when renaming the part model. After renaming the part model, you must save the drawing so it "remembers" the part name change.

I assume you are not using PDMLink (Windchill).

Kishore_K
15-Moonstone
(To:StephenW)

Yes but if the file is not "in session" how does it remember the part name change?

StephenW
23-Emerald III
(To:Kishore_K)

You must do the rename using FILE - Manage File - Rename from with Creo. You can't use window explorer or other file managers to do the rename.

A simple example would be to open a drawing of a part, open the part, rename the part from within Creo, save the drawing.

If part's drawing is not "in session" during part renaming then you are in trouble ...

If you do not use Windchill, then RENAME action is very risky. You have to know, what drawings are necessary to open and save after part renaming. Nobody helps you ...

Martin Hanak


Martin Hanák
Dale_Rosema
23-Emerald III
(To:MartinHanak)

If you need to find out where something is used, here is a good thread to a batch program that can be run to find out. As Martin mentioned, it is very risky.... proceed with caution.

Re: Where used?

Thanks, Dale

Dale_Rosema
23-Emerald III
(To:Kishore_K)

What Stephen is trying to say is that if the file is not in session it will not remember that the part name has changed and the link between the two will be broken.

Thanks, Dale

R.D.
2-Explorer
(To:Kishore_K)

If you have already renamed the part, you will have to open the part, rename it to the original name that was associated with the drawing, open the drawing which should now find the part, and then (as mentioned) rename part with drawing open and save both.

Stephen answered the question in that you must do your renaming within Creo/Pro-E and have associated files in session and save. If you rename a part open the drawing and any assemblies the part is in before renaming and then after the part renaming save the drawing and assemblies. If you get this problem then what you can do is open the part again and rename it back to the old name the drawing or assembly is looking for and then open the drawing or assembly. Then you can rename again back to the desired new name and same the drawing and assembly files. Because of this issue it is also a good idea to only have one part detailed per drawing.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags