Using Materials Already In Project During Import

Is there any way to use existing materials in my scene when importing a datasmith file? If I am importing several different Datasmith files into my scene, and they all use the same material, when I import them, it creates the material in each of the import folders. When importing FBX files, you have the option to use a material that is already in the project, if they are named the same. So now, if I import 3 different Datasmith files, I have 3 of the exact same materials in my scene. So then I have to hunt through the folders and replace references with one of the materials. Most of my scenes are large with a lot of different materials, so this isn’t exactly efficient. Is there any better solution, or is there a better solution in the works?

Hi DMHokie ,

At this stage , Datasmith will generate a material folder every import.
Unless you deselect material in the import option.
I understand this is not exactly , the most efficient way .
Where looking at optimizing materials workflows with Datasmith.
Thank you for your feedback :slight_smile:

Material consolidation can be done in bp or python. We will start by giving away a sample script and ultimately create a ui workflow for the most typical data optimization usé cases.

Stay tuned we’re prototyping a few things here already

Hi, ther’s a script or standard workflow for this in the last realease?
I tipical import 5-6 datasmith file from the same scene and for each of them i end up with a material / texture folder…

Here’s the documentation link on customizing the Datasmith import process: