hide box
viewNode = slicer.util.getNode(‘vtkMRMLViewNode1’)
viewNode.SetAxisLabelsVisible(False)
viewNode.SetBoxVisible(False)
You can try this to make the slices opaque again:
y = getNode('Yellow Volume Slice')
y.GetDisplayNode().SetOpacity(1.0)
hide box
viewNode = slicer.util.getNode(‘vtkMRMLViewNode1’)
viewNode.SetAxisLabelsVisible(False)
viewNode.SetBoxVisible(False)
You can try this to make the slices opaque again:
y = getNode('Yellow Volume Slice')
y.GetDisplayNode().SetOpacity(1.0)