# Re-importing datasmith geometry loses applied materials

**URL:** <https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, editor, question\
**Created:** [April 24, 2023, 11:50am UTC](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213 "2023-04-24T11:50:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arii](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arii/32/898284_2.png) [@Arii](https://forums.unrealengine.com/u/Arii)\
**Post date:** [April 26, 2023, 7:16am UTC](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213/2 "2023-04-26T07:16:55Z")

</div>

this is the way datasmith is programmed to work and there is no option for now at least to override this behavior.  
what you can do however is create a blueprint utility widget that substitutes imported raw material from your modeling program to material of your choice in unreal. for this to work you need to apply named materials in in your dcc for your meshes. and in unreal create a substitute data table.  
look at the post below

> [@Datasmith-imported materials - Most efficient way to replace with UE5 ones?](https://forums.unrealengine.com/t/datasmith-imported-materials-most-efficient-way-to-replace-with-ue5-ones/597917):
>
> I am using the Direct Link plugin from Sketchup 2021 to the latest version of Unreal Engine 5. It works well, but the best way that I’ve found to replace Sketchup’s materials with UE5 ones is to select a mesh, “Select All with Same Material”, then click in the Details pane to replace one material at a time. Is there a better way in UE5 please? A Python script? A plugin (paid is fine with me)? There used to be an (expensive) plugin called Optim; what else is similar in UE5 that works well? …

---

_[View the full topic](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213)._
