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?
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:
https://apidocs.slicer.org/master/classvtkMRMLDisplayableNode.html