# Hide node and refresh view

**URL:** <https://discourse.slicer.org/t/hide-node-and-refresh-view/37168>\
**Category:** Development\
**Created:** [July 3, 2024, 9:18am UTC](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168 "2024-07-03T09:18:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fqzhice](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Post date:** [July 4, 2024, 10:33am UTC](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168/2 "2024-07-04T10:33:48Z")

</div>

Fixed!

> [@Segmentation visibility by code](https://discourse.slicer.org/t/segmentation-visibility-by-code/13826/3):
>
> hi this works to hide all segmentation: disp=slicer.util.getNode('Segmentation') disp.SetDisplayVisibility(False) but I can’t make it show only Left-Cerebral-Cortex . try this: slicer.vtkMRMLSegmentationDisplayNode('Segmentation').SetAllSegmentsVisibility(False) but I have the following error: ValueError: could not extract hexadecimal address from argument string

---

_[View the full topic](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168)._
