# Setting slice visibility per segment

**URL:** https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974
**Category:** Support
**Tags:** segmentation
**Created:** [June 10, 2020, 4:13am UTC](https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974 "2020-06-10T04:13:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 10, 2020, 4:13am UTC](https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974/1 "2020-06-10T04:13:48Z")

</div>

I have two segments in a segmentation. A segment\_1 is the thresholded volume, and segment\_2 is same structure after WrapSolidify. I want to show segment\_1 only in the red slice and segment\_2 in the yellow slice. While Segmentations module advanced section of Display tab seemingly to let me adjust it per segment, selection still applies to both of segments. Is this not possible (i.e., visibilities are set per segmentation, not per segment), or is this a bug?

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [June 10, 2020, 5:08pm UTC](https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974/2 "2020-06-10T17:08:03Z")

</div>

I’m pretty sure all the segmentation display properties apply to all segments (other than per-segment visibility)

You can use the Copy/Move Segments panel to put your segment\_2 in a new segmentation and then you can control the per-view visibility.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [June 10, 2020, 5:09pm UTC](https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974/3 "2020-06-10T17:09:51Z")

</div>

It is what I thought, but it actually display all the segments within the segmentation, and you can go back and forth with them thinking you can adjust them individually. That’s what confused me.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [June 10, 2020, 6:50pm UTC](https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974/4 "2020-06-10T18:50:32Z")

</div>

I think only the part in the box below the line “Selected segment” is the per-segment part. The controls above that in Advanced are for the full Segmentation.

---

<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: [June 10, 2020, 7:07pm UTC](https://discourse.slicer.org/t/setting-slice-visibility-per-segment/11974/5 "2020-06-10T19:07:05Z")

</div>

Segmentation behaves the same way as all other displayable nodes: if you want to show different content in different views then you need to create additional display nodes, and in each display node [indicate which view(s) it should be used in](http://apidocs.slicer.org/master/classvtkMRMLDisplayNode.html#a62cff2549fe8c0c4fbff5b363031e242).

Slicer core GUI only shows the first display node, but you can easily add and configure additional display nodes using Python scripting (or add a scripted module for it, if this is something that you want to do regularly).
