# Display LabelMapVolumeNode After creating

**URL:** <https://discourse.slicer.org/t/display-labelmapvolumenode-after-creating/10037>\
**Category:** Support\
**Tags:** segmentation, scene, views\
**Created:** [January 30, 2020, 7:27pm UTC](https://discourse.slicer.org/t/display-labelmapvolumenode-after-creating/10037 "2020-01-30T19:27:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleingeo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kleingeo/32/6772_2.png) [@kleingeo](https://discourse.slicer.org/u/kleingeo)\
**Post date:** [January 30, 2020, 7:27pm UTC](https://discourse.slicer.org/t/display-labelmapvolumenode-after-creating/10037/1 "2020-01-30T19:27:11Z")

</div>

In Python, I create a script to create a segmentation of a vertebrae after selecting it with a fiducial marker. It works as expected, but I am unable to have the segmentation automatically display. Here is what I currently have, but I am unsure why this isn’t working.

```python
segVolumeNode = sitkUtils.PushVolumeToSlicer(seg,
                                             name='Segmentation',
                                             className='vtkMRMLLabelMapVolumeNode')

slicer.mrmlScene.AddNode(segVolumeNode)
segVolumeNode.CreateDefaultDisplayNodes()
segVolumeNode.SetVisibility(1)

```

This does not seem to work, and I am not entirely sure what the issue is.

---

<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:** [January 30, 2020, 7:30pm UTC](https://discourse.slicer.org/t/display-labelmapvolumenode-after-creating/10037/2 "2020-01-30T19:30:28Z")

</div>

A post was merged into an existing topic: [Automatically view LabelMapNodes](https://discourse.slicer.org/t/automatically-view-labelmapnodes/10036)

---

<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:** [January 30, 2020, 7:30pm UTC](https://discourse.slicer.org/t/display-labelmapvolumenode-after-creating/10037/3 "2020-01-30T19:30:28Z")

</div>


