On slicer 5.4.0 after creating a new text node from within the texts module, the textnode does not appear in the save dialog, though other nodes do appear. It’s still saved in the scene file. Is there a way to have the txt file node appear in this dialog?
By default, short text (<256 characters) is saved in the scene file to avoid polluting the file system with many tiny files. You can call this method of the text node to force saving it into a separate file regardless of text length:
myTextNode.SetForceCreateStorageNode(slicer.vtkMRMLTextNode.CreateStorageNodeAlways)
2 Likes