I'm hoping one of you fine folks is able or willing to advise me on a SketchUp script that I am convinced would be extremely helpful in lots of people's workflows.
Let's say I have applied a series of unique artworks to a model. Let's say I have 20 unique JPG artworks with 20 unique filenames placed in my model. That would amount to a list of files (artwork1.jpg, artwork2.jpg, artwork3.jpg...etc).
Now... let's say that I have updated JPGs -- the same exact list, but the artwork has been modified in some way, and I need to update my model with each of them.
Currently, the only way to do this is to painstakingly replace each and every texture instance one by one in the material editor.
SURELY THERE IS A BETTER WAY??
https://forums.sketchup.com/t/batch-create-materials-from-directory-of-files/114300
Looks like this person was on to something. Is there anyone here who could help me rewrite this Ruby script (I'm new to Ruby, so bear with me) in such a way that we could batch replace every texture in the model with its corresponding JPG? In other words, a single script that would look in a specific folder, and replace any texture in my material library with the JPG in the folder whose name matches that texture?
I refuse to believe this is impossible. Can anyone help?