This question already has an answer here:
- Moving a Linked Library 1 answer
(Using Blender 2.76) I have some object groups from one file (source) linked as dupligroups in another file (target). I had to change the name of the subdirectory containing the source file, and the name of the source file itself, so the links in the target file broke (as expected; even relative file paths wouldn't have helped with the renamed file/directory). So now when I open the target I get the error messages stating missing data, and all the dupligroups are just empties (empty empties that is) showing no mesh that they did before the name changes.
I think it will be easier to split this into two questions:
- How do you fix a broken dupligroup link when the path to the source
file (directory name/s) has changed? Like this:
- How do you fix a broken dupligroup link when filename of the source
.blend file has changed? Like this
But of course I have to fix both of these things.
The reason I split that into two questions is because I did some tests and had different results depending on whether the intermediate directories names had changed (changed path) or whether the actual source filename had changed (changed filename). I had two ideas that both failed:
Idea 1 (failed):
- Go to file/External Data
- Find Missing Files
Changed Path: For the changed path this got the error message about missing data to stop displaying upon .blend file opening and when using File/External Data/Report Missing Files, but the dupligroups were still empty!
Changed Filename: For the changed source filename this did not get rid of the error messages or fix the dupligroups.
Idea 2 (failed):
- Go to the outliner
- Select "Datablocks" in the pulldown
- Expand the "Libraries/lib" item
- Change the "File Path" field to reflect the new subdirectory/filename (For this selecting the file path input box in the menu does not open a file selector or anything, so I just typed in the new path/filename manually and hit enter. Maybe I'm doing that wrong?)
Changed Path/Changed Filename: It failed for both. The dupligroups were still empty. I did try restarting the file to see if they needed to be restarted to show the dupligroup mesh, but it didn't help.
However, it's interesting to note that when trying Idea 1 (Fix Missing Files) and then trying Idea 2 (Libraries/Lib) the Fix Missing Files option did fix the path in Libraries/Lib so it appeared correct, it just didn't fix the dupligroups.
I'm using Using 2.76b, but I know I had this same problem with an older version of Blender. That was a while ago and I just gave up and re-linked the dupligroup. That's okay for a couple dupligroups, but in a big scene with dozens of dupligroups that have all been moved/rotated to specific positions this becomes a big deal.
I get the feeling I must be missing something really obvious because I'm sure this is a common problem. Any ideas would be appreciated. Thank you.