Hi, I was wondering if it is possible to clear the scene on the 3D panel without touching the other slices(red, green, yellow). Thank you.
Are you looking to show/hide a volume in the 3D View that is currently shown in one of the slice views (red, green, yellow) without pressing the “eye” icon in the individual slice controller? Are you wanting to maintain the volume in these 2D slice views or are you wanting to completely remove them from the Slicer scene?
Are you looking for a programmatic solution using python?
Hi, thanks for getting back. Yes, I am looking for a programmatic solution using python. I would like to keep the MRI images on the 2D slice and completely remove the scene on the 3D panel if it is possible.
There is an example in the Slicer Script Repository regarding how to “show slice views in 3D window”. You can set the boolean to True to show them, or to False to hide them as you are desiring. Let us know how it works for you!