Every time I open one of my assemblies, I get the warning 'Unable to locate the file "path.sldprt"'. After clicking "Browse for file", then locating the part, the next time I open the assembly solidworks asks me to locate the part again.
After clicking "Browse for file", then locating the part, the next time I open the assembly solidworks asks me to locate the part again
the part you mentioned here is in the main or sub assembly
if it's in the sub-assembly, you need to open and save the sub-assembly otherwise, it'll ask you again next time you open the main assembly
Is the path.sldprt file a component in the assembly, or is it an external reference to one of the parts or assemblies?
Reason why I ask, is that, if it is the 2nd one, then you need to make sure that your references aren't locked for that part that is linked to it and then make sure that you save that particular part as well.
Hi Dan, sorry if I'm not understanding correctly. I believe it is a component in the assembly. I don't think it is an external reference to a part but I'm not 100% sure what that is. How can I tell if something is an external reference or a part?
There are other ways to do it, but the easiest way is to open the file that you think is referencing the "path.sldprt" and select the following:
The other thing that I just thought of:
If you do a "pack and go" of the assembly, does it automatically grab the "path.sldprt"?
Yes the part is found in the "Find References" Option and would be grabbed in a pack and go
I take it you're saving the assembly after you have manually located the missing part?
Yes I am
Have the part you want to use open first. Then open the assembly. Make sure you save the assembly to update the references. Also, make sure that under tools, options that you don't have a references document location that pulls the part you don't want.
I opened the part, then opened the assembly. Saved the assembly. Closed everything. Tried to open the assembly again but it still was unable to find the part. I have no paths in my referenced documents setting.
Sounds sort of like what I posted here Locate/open replace file and still unsolved.
you can save a copy of the Part file (different Name), in the Assembly replace the current Part with the Copy. this is not the elegant Solution, just a work around.
It was in a sub-assembly
Retrieving data ...