Changing visibility of 3D Cube and 3D Axis Label through Python

Hello all,

I am trying to change the visibility of the 3D Cube and the 3D Axis Labels (in the 3D View) using Python. I want to do this because I am trying to customize the appearance of the main window at launch.

I have been able to find find functions to set all the other aspects of the appearance through slicer.util and, but I haven’t found the way to change things inside the view windows themselves. If someone could point me in the right direction, I would really appreciate it.


These view properties are stored in the view node. See this example of how to modify a property.