# Creating two green slice nodes in slicer layoutmanager

**URL:** <https://discourse.slicer.org/t/creating-two-green-slice-nodes-in-slicer-layoutmanager/13322>\
**Category:** Support\
**Created:** [September 3, 2020, 2:25pm UTC](https://discourse.slicer.org/t/creating-two-green-slice-nodes-in-slicer-layoutmanager/13322 "2020-09-03T14:25:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 3, 2020, 2:25pm UTC](https://discourse.slicer.org/t/creating-two-green-slice-nodes-in-slicer-layoutmanager/13322/1 "2020-09-03T14:25:41Z")

</div>

how can I insert two green slice nodes in a slicer layout manager?

---

<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:** [September 3, 2020, 2:44pm UTC](https://discourse.slicer.org/t/creating-two-green-slice-nodes-in-slicer-layoutmanager/13322/2 "2020-09-03T14:44:24Z")

</div>

By “green” do you mean you want the view to be called green, color the border green, or use the coronal default orientation?

You can change the color of slice nodes to green for multiple views.

Slice names and labels are unique, so you can only have one of them be “G” / “Green”.

If you mean that you want to show multiple coronal views, then set its orientation by calling `sliceNode.SetOrientation` (see [example](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Change_default_slice_view_orientation)). You can set default orientation in the `orientation` property of your layout (see example of how to create custom layout [here](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Customize_viewer_layout)).

---

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 4, 2020, 6:26am UTC](https://discourse.slicer.org/t/creating-two-green-slice-nodes-in-slicer-layoutmanager/13322/3 "2020-09-04T06:26:45Z")

</div>

Actually I want 4 slice nodes.A set of (green, red, yellow) slice nodes and a seperate slice node.Because I had already used the three nodes earlier, how can I create a new sliceNode.

---

<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:** [September 5, 2020, 9:47pm UTC](https://discourse.slicer.org/t/creating-two-green-slice-nodes-in-slicer-layoutmanager/13322/4 "2020-09-05T21:47:32Z")

</div>

You can create your custom layout, with as many viewers you need, using any default orientations. See example in script repository: [https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Customize\_viewer\_layout](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Customize_viewer_layout)
