# Shows 2D Slices on one 3D view when using dual 3D view

**URL:** <https://discourse.slicer.org/t/shows-2d-slices-on-one-3d-view-when-using-dual-3d-view/21895>\
**Category:** Development\
**Created:** [February 10, 2022, 4:19pm UTC](https://discourse.slicer.org/t/shows-2d-slices-on-one-3d-view-when-using-dual-3d-view/21895 "2022-02-10T16:19:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![park](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/park/32/5717_2.png) [@park](https://discourse.slicer.org/u/park)\
**Post date:** [February 10, 2022, 4:19pm UTC](https://discourse.slicer.org/t/shows-2d-slices-on-one-3d-view-when-using-dual-3d-view/21895/1 "2022-02-10T16:19:47Z")

</div>

Hi all

Like figure, I would like to pop up 2D slices view on only one 3D view when using the multi 3D view

 ![sdsd](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/7/d7662e0774a0a59ba18021d13493e4ceb0aec5e9.png)

What is the easiest way to implement this ?

Thanks

---

<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:** [February 10, 2022, 4:23pm UTC](https://discourse.slicer.org/t/shows-2d-slices-on-one-3d-view-when-using-dual-3d-view/21895/2 "2022-02-10T16:23:57Z")

</div>

Follow up to this discussion:

> [@Show/hide slice views in 3D view using Python](https://discourse.slicer.org/t/show-hide-slice-views-in-3d-view-using-python/3074/):
>
> Hi developers, I have a problem switching on the slice views on or off in the 3D view from Python permanently. The code I am using for i.e. switch on the red slice view is: current\_slice\_node = slicer.mrmlScene.GetNodeByID(‘vtkMRMLModelDisplayNode1’) current\_slice\_node.VisibilityOn() This code works well until one changes the position of the slice by i.e. scrolling in the slice view. I guess since the “eye” in the slice view is still “closed” the update will set the visibility again to 0 and…
