Hi, I have multiple volumes and would like to call
slicer.util.resetSliceViews()
when the ‘eye’ button is clicked to show the volume.
Is there a way to script this behavior?
Thanks!
Hi, I have multiple volumes and would like to call
slicer.util.resetSliceViews()
when the ‘eye’ button is clicked to show the volume.
Is there a way to script this behavior?
Thanks!
It is already available as an option in Data module in recent Slicer Prevew Releases. Right-click on a volume’s eye icon and check “Reset field of view on show”:
Nice! Is there a way set as default behavior when Slicer starts?
Yes. The choice is stored persistently in application settings.
Yes. Just found it on the Slicer.ini file. Thanks!
[SubjectHierarchy]
ResetFieldOfViewOnShowVolume=true