How to hide nodes in data module

Operating system: windows 10
Slicer version: 4.11

Is there any way to programmatically toggle the visibility of nodes in the data module? If so , how?

You can use the SetDisplayVisibility() function. If you want finer control over display options, you can access the display node with GetDisplayNode().

vtkMRMLDisplayableNode doc:

1 Like