0

I am attempting to work on blend files at work and at home, by using the same file location for the PBR textures. Unfortunately, find missing files command is not very comprehensive and cannot locate the texture images in the directory. I chose to use the C:\ drive on both machines rather than 'documents'.

enter image description here

Is there another way to do this? It has each image folder in many subdirectories away from the main. I have this python script but I don't know where blender is looking for the original if it is not right where it should look for the new.

%%
import bpy

images = bpy.data.images

for img in images : if img.source == 'FILE' : img.filepath = img.filepath.replace('\old_folder\','\new_folder\') img.reload()

%%

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187
JB Riley
  • 791
  • 3
  • 9
  • Instead of using the same folder, try to pack all your assets inside the blend file See this : https://docs.blender.org/manual/en/latest/files/blend/packed_data.html – Emir Dec 27 '23 at 13:54
  • Thanks for the comment, but is there a way to have a common address between 2 PCs? – JB Riley Dec 27 '23 at 13:58
  • You could use a cloud service (Google, one drive, mega, Dropbox) – Emir Dec 27 '23 at 14:19
  • 1
    This sounds like a needlessly convoluted workflow https://blender.stackexchange.com/questions/56683/moving-all-files-to-a-new-computer-my-concern-is-links – Duarte Farrajota Ramos Dec 27 '23 at 14:34
  • How is this a convoluted workflow? I have hundreds of PBR textures. Each blend file may use most of them. How about those textures all stay put and I just call on them for every blend file? "C:\poliigon texture" should equal "C:\poliigon texture" no matter which machine I am on – JB Riley Dec 28 '23 at 15:03

0 Answers0