Set filter to the scene based on displayable node attributes

Hi,

I’m looking for a way to hide/show displayable nodes based on their attribute value.

I can see an option: to filter the scene at once and after that user can display recently hided nodes (if he wants) by clicking on eye icon in data module for example.
Or add such functionality to the scene so that all nodes that dont fit the criteria must not be displayed no matter what DisplayVisibility they have.

I think I would prefer the second way but does Slicer community need such functionality?

I typically just use a small python loop to selectively show only the desired nodes.

1 Like

This is useful for those who is pretty familiar with python :slight_smile:

An easy way to show/hide a group of nodes is to put them into a folder in the Data module and click the eye icon of the folder.

1 Like

Thank you, haven’t thought about that