# How to export segments as \*multimaterial\* model in SegmentMesher extension?

**URL:** https://discourse.slicer.org/t/how-to-export-segments-as-multimaterial-model-in-segmentmesher-extension/25598
**Category:** Support
**Tags:** segmentmesher
**Created:** [October 7, 2022, 7:14pm UTC](https://discourse.slicer.org/t/how-to-export-segments-as-multimaterial-model-in-segmentmesher-extension/25598 "2022-10-07T19:14:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SlicerGroupie](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@SlicerGroupie](https://discourse.slicer.org/u/SlicerGroupie)
#### Post date: [October 7, 2022, 7:14pm UTC](https://discourse.slicer.org/t/how-to-export-segments-as-multimaterial-model-in-segmentmesher-extension/25598/1 "2022-10-07T19:14:59Z")

</div>

Hello,  
We have 4 segments of the cerebrum. When we export them as a model, it works, but it exports as a _single material_ model (where the four segments get fused into one large mesh).

But we want to export it as a _multimaterial_ model, where each segment can be specified to have a different material/color. It is possible to do this in 3D Slicer.

Alternatively, is it possible to export our four segments into four separate _single material_ models, and then somehow combine them together correctly as a single _multimaterial_ model?

Many thanks in advance!

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 7, 2022, 7:21pm UTC](https://discourse.slicer.org/t/how-to-export-segments-as-multimaterial-model-in-segmentmesher-extension/25598/2 "2022-10-07T19:21:42Z")

</div>

If you use “Cleaver” meshing method then you get a multimaterial model in the .vtk//vtu file. Material of each element is specified in the cell array called `label`.
