# How to merge multiple segments at once

**URL:** <https://discourse.slicer.org/t/how-to-merge-multiple-segments-at-once/30449>\
**Category:** Support\
**Tags:** build, segmentation, python\
**Created:** [July 7, 2023, 11:26am UTC](https://discourse.slicer.org/t/how-to-merge-multiple-segments-at-once/30449 "2023-07-07T11:26:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 8, 2023, 4:09am UTC](https://discourse.slicer.org/t/how-to-merge-multiple-segments-at-once/30449/2 "2023-07-08T04:09:05Z")

</div>

I find that the easiest to merge many segments is:

- show all the segments that you want to add (hide those segments you don’t want to add)
- select “Logical operators” effect
- select “Operation” → “Fill”
- uncheck “Bypass masking”
- select “Masking” / “Editable area” → “Inside all visible segments”
- click “Apply”

---

_[View the full topic](https://discourse.slicer.org/t/how-to-merge-multiple-segments-at-once/30449)._
