I’d like to offer the standard preemptive apology if this is in the wrong place. This is my first post, I usually just scour the existing posts for answers.
I also want to begin by saying that for the purpose of this question, let’s pretend I have absolutely no programming or scripting experience, because I certainly have no relevant experience. Also, my knowledge of blender itself is… er, patchy.
Now for the question…
I have a file, using Blender Cycles, called ColorPro.blend.
In it, I have 72 objects, each with its own material.
Each of the 72 materials contains an Image Texture node. The image paths are something like the following:
Now, I wish to copy/edit this file to a nearly identical file, but these links would instead need look like the following:
As you can see this is a bit different than re-linking to a different drive (which is mostly what I found in my search), since all the file names are also slightly changed.
So, essentially what I think would be the easiest way to do this would be if I could search all image paths within the file for the string “Color Pro/ColorPro” and replace all instances with “Color Studio/ColorStudio”.
I did find one script here which seemed like it would be what I’m looking for but I’m getting an error when I try to run it.
Please forgive my ignorance, I would not ordinarily ask strangers for help with something like this, but it’s for work and time is a factor. And I’m going to need to do this several more times than in the files mentioned above.
Also, if it’s matters, I am using a MacBook Pro… I know. It’s not ideal, but it’s a work-issued laptop for a project that is a bit outside our ordinary scope.
Blender Version 2.79b
Let me know if I left anything out or was unclear with anything.
Thanks for any advice on this.