You need to dig into how to get the slice display nodes, but in most cases this for example will set the red slice intersection thickness to 5 points:
getNode('vtkMRMLModelDisplayNode1').SetLineWidth(5)
You need to dig into how to get the slice display nodes, but in most cases this for example will set the red slice intersection thickness to 5 points:
getNode('vtkMRMLModelDisplayNode1').SetLineWidth(5)