# "Merge into single file" checkbox value not used? (4.13.0-2021-02-17)

**URL:** https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429
**Category:** Development
**Created:** [March 8, 2021, 1:01pm UTC](https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429 "2021-03-08T13:01:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)
#### Post date: [March 8, 2021, 1:01pm UTC](https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429/1 "2021-03-08T13:01:36Z")

</div>

It looks like `ExportSegmentsClosedSurfaceRepresentationToFiles()` in `vtkSlicerSegmentationsModuleLogic` ignores the `merge` parameter and always saves OBJ files as merged. Is this by design?

Thanks!

-Hollister

---

<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: [March 8, 2021, 1:07pm UTC](https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429/2 "2021-03-08T13:07:49Z")

</div>

Merge option is disabled for OBJ because each segment is exported with a separate material, so segments can be distinguished in viewers and editors.

If for some reason you need to write each segment as a separate mesh then you can export the segments to models by right-clicking on the segmentation in Data module and use menu: File / Save.

---

<div class="post-metadata">

### Author: ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)
#### Post date: [March 8, 2021, 1:09pm UTC](https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429/3 "2021-03-08T13:09:32Z")

</div>

Got it. File/Save is what I’ve been doing all along with saving as PLY but I figured I’d try OBJ.

Thanks!
