Loading folders and data

I’m looking for a way to load a directory. For example, I want to be able to load the selected folder in the screenshot from a specific directory on my device. While I’ve found loadVolume() and loadSegmentation() functions, I haven’t found one for directories.

You can get the list of files in a folder using standard Python functions and then call slicer.util.loadNodeFromFile(filepath) for each file.