# Convert label map volume into a scalarvolumenode

**URL:** https://discourse.slicer.org/t/convert-label-map-volume-into-a-scalarvolumenode/3550
**Category:** Support
**Created:** [July 21, 2018, 11:41am UTC](https://discourse.slicer.org/t/convert-label-map-volume-into-a-scalarvolumenode/3550 "2018-07-21T11:41:00Z")
**Posts on this page:** 1
**Page:** 2

<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: [July 25, 2018, 12:42pm UTC](https://discourse.slicer.org/t/convert-label-map-volume-into-a-scalarvolumenode/3550/21 "2018-07-25T12:42:21Z")

</div>

> [@Laura](#):
>
> No segment editor popup appears even when I use the script in most examples with the line ‘.show()’

Probably you don’t see the widget because the widget gets deleted automatically when the variable gets out of scope. You can address this by storing `editorWidget` variable in a class member variable or adding the widget to a layout. A good example is the Segment Editor module itself: copy-paste, rename, and modify Segment Editor module to fit your needs.

[Previous page](https://discourse.slicer.org/t/convert-label-map-volume-into-a-scalarvolumenode/3550.md?page=1)
