Hi,
before it was: “Slicer.slicer.ApplicationGUI.ProcessCloseSceneCommand()”, but what is the command line now?
Thanks in advance.
The way you programmatically closed the scene is a fragile call to a handler function. This is the proper way to close the scene:
slicer.mrmlScene.Clear(0)
3 Likes
Thanks a lot Csaba!
Best
1 Like