Load new volume (slicer.util.loadLabelVolume) without reset slicer layout

Operating system: Windows 10
Slicer version: 4.11
When I load a new volume using “slicer.util.loadLabelVolume”, the slicer always resets the layout. But I would like to keep the previous one. Can you help me?

Thank you!

It was solved by adding the flag show=False, as follows: “slicer.util.loadLabelVolume(fileName, properties={‘show’:False}”

Thank you.

2 Likes