# Datasmith support of Rhino's Sub-Object Materials \[Solved\]

**URL:** <https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [April 19, 2022, 7:28am UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173 "2022-04-19T07:28:18Z")\
**Posts on this page:** 6\
**Page:** 1

<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 19, 2022, 7:28am UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173/1 "2022-04-19T07:28:18Z")

</div>

hello  
in rhino you can apply a material in sub-obj mode (a face of a cube for example) but when importing it into unreal the objects with two materials that one of them is a sub-obj material are imported into unreal with only one material for the whole obj.  
this not being supported creates a very tedious and time consuming workaround for walls in interiors

---

<div class="post-metadata">

**Author:** ![Antoine\_Guillo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antoine_guillo/32/1225291_2.png) [@Antoine\_Guillo](https://forums.unrealengine.com/u/Antoine_Guillo)\
**Post date:** [April 19, 2022, 12:58pm UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173/2 "2022-04-19T12:58:48Z")

</div>

Hi ARoShk !

I’m not sure exactly about the method you used to have multiple materials on the same object in Rhino.

Can you send us a simple mesh with a few materials on it ?

It might have been a workflow we did not cover in the the Rhino plugin.

Cheers,  
Antoine

---

<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 19, 2022, 1:40pm UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173/3 "2022-04-19T13:40:49Z")

</div>

Hello Antolne and Thanks for your response!

there is only one method to add multiple material to the same obj in rhino. its not a obvious feature i think it was added in rhino 6 after many user asking for it for a long time its not very robust but it gets the job done and it works only on nurbs surfaces and not meshes.

it works by first you selecting a face of obj like a cube in sub-Object mode (selecting while pressing Ctrl+Shift) then in material panel select a material and right click on it and select “Assign to Objects” for this to work you need to first assign a material to the whole obj and add the sub-obj materials after it. if you dont do this it would still works but rhino will automatically create and add a white material to your obj.

in the sample i first add the red material to the cube then select one of the faces and added the blue material  
[Sub-Object Material Test.3dm](https://forums.unrealengine.com/uploads/short-url/wLQLcdHZFApw5Zp2DwbvU0qfRCG.3dm) (60.4 KB)

---

<div class="post-metadata">

**Author:** ![Antoine\_Guillo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antoine_guillo/32/1225291_2.png) [@Antoine\_Guillo](https://forums.unrealengine.com/u/Antoine_Guillo)\
**Post date:** [April 19, 2022, 2:19pm UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173/4 "2022-04-19T14:19:04Z")

</div>

Perfect thanks for the file !

Are you by chance using the NURBS mesh import option when importing the mesh in Unreal ?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/a/4caad6b76e75119224d9a5b41224726bab03f55c.png)

This will not keep the multimaterial on your mesh… Try changing to the “Import Rhino Meshes and UVs” option instead.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/b/c6b40f7e560874e8292292217291389f6c584afd.png)

Alternatively, we also have a Datasmith Plugin that will give the best result.  
See : [Using Datasmith with Rhino | Unreal Engine 4.27 Documentation](https://docs.unrealengine.com/4.27/en-US/WorkingWithContent/Importing/Datasmith/SoftwareInteropGuides/Rhino/)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/5/aa5731aaa6e486931842e337c88f48f382299087.jpeg)

Hope this helped ! 🙂

Cheers  
Antoine

---

<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 19, 2022, 4:44pm UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173/5 "2022-04-19T16:44:59Z")

</div>

thank u very much Antoine

the problem was neglect on my part  
i wasnt opening the 3dm files directly inside unreal (i didnt know you could do that 😃)  
i was useing direct link but the problem was that i was still useing UE5 preview instead of version 1 and also my rhino was outdated after updating all of them everything is working greatly.

---

<div class="post-metadata">

**Author:** ![Antoine\_Guillo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/antoine_guillo/32/1225291_2.png) [@Antoine\_Guillo](https://forums.unrealengine.com/u/Antoine_Guillo)\
**Post date:** [April 19, 2022, 4:56pm UTC](https://forums.unrealengine.com/t/datasmith-support-of-rhinos-sub-object-materials-solved/533173/6 "2022-04-19T16:56:58Z")

</div>

Hah !

As a rule of thumb, each new release of the engine (even small hotfixes), do update both UE and the Datasmith plugin. 🙂

Glad the issue was fixed ! Enjoy Rhino in UE5 !

Cheers,  
Antoine
