Is there a tutorial somewhere that can walk us through (or let us download) a python script to replace materials? In this video, posted by Unreal Engine, the instructor runs what seems to be a very short and simple script to change materials. The video is horrible quality so it’s impossible to read the code, and zero instructions are given as to how one might find that script or build it yourself. The python script is at the 10:00 mark.
This is an Unreal Studio/Datasmith based video. What’s confusing is that I’m not sure how the script would work with Datasmith; given that material pathways for imported objects are very specific to the folder structure. If your workflow means multiple Datasmith imports to build a scene, how does the script find those materials?
There’s also this page from Unreal that features some sort of method to replace materials, but there’s zero instructions for the beginner as to how any of it works.