# Issue hiding shapeNodes in a folder via script

**URL:** https://discourse.slicer.org/t/issue-hiding-shapenodes-in-a-folder-via-script/44023
**Category:** Support
**Created:** [August 8, 2025, 1:16pm UTC](https://discourse.slicer.org/t/issue-hiding-shapenodes-in-a-folder-via-script/44023 "2025-08-08T13:16:58Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![bserrano](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bserrano/32/17034_2.png) [@bserrano](https://discourse.slicer.org/u/bserrano)
#### Post date: [August 11, 2025, 9:43am UTC](https://discourse.slicer.org/t/issue-hiding-shapenodes-in-a-folder-via-script/44023/7 "2025-08-11T09:43:06Z")

</div>

That’s it.

In the earlier steps, the script creates a set of cylinders, converts them to models, and then to segments. These cylinder segments are then used for some processing with the `segmentEditor` module ([see related topic](https://discourse.slicer.org/t/crop-segment-using-shapenode/43822)).

After that step, I want to hide the cylinders to continue the process.

I’ll try looping over the elements in the folder and hiding the cylinders individually instead.

---

_[View the full topic](https://discourse.slicer.org/t/issue-hiding-shapenodes-in-a-folder-via-script/44023)._
