# How to change name of tabbed view layout?

**URL:** <https://discourse.slicer.org/t/how-to-change-name-of-tabbed-view-layout/16500>\
**Category:** Support\
**Created:** [March 12, 2021, 5:20pm UTC](https://discourse.slicer.org/t/how-to-change-name-of-tabbed-view-layout/16500 "2021-03-12T17:20:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay\_pillai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akshay_pillai/32/8301_2.png) [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Post date:** [March 12, 2021, 5:20pm UTC](https://discourse.slicer.org/t/how-to-change-name-of-tabbed-view-layout/16500/1 "2021-03-12T17:20:51Z")

</div>

Operating system:windows 10  
Slicer version:4.11

In the layout menu in the tabbed slices view option the tabs are named as Red, Green, yellow. Is there any way I can rename the tabs to - for example, axial, coronal, sagittal?

---

<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 14, 2021, 5:58am UTC](https://discourse.slicer.org/t/how-to-change-name-of-tabbed-view-layout/16500/2 "2021-03-14T05:58:54Z")

</div>

You can either [create your own layout](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Customize_viewer_layout) with view names you like or rename existing slice view nodes:

```python
sliceNodes=slicer.util.getNodesByClass('vtkMRMLSliceNode')
sliceNodes[0].SetName('Axial')
sliceNodes[1].SetName('Coronal')
sliceNodes[2].SetName('Sagittal')

```

Note that the user can set any slice viewer to any orientation, so nothing guarantees that the view that you name “Axial” view will always show axial slice.
