Having all files checked by default at the Save Scene dialog

Is there a way to set the select files checked by default at the Save Scene dialog? I tried this code bellow, but no sucess:

saveDataDialog.children()[6].model().setHeaderData(0, qt.Qt.Horizontal, qt.Qt.Checked, qt.Qt.CheckStateRole)

image

Better to use this method to mark the nodes so that the widget will select them for saving.

But if I always wanted to have this option checked, regardless, because it has caused some confusion with users altering the directory thinking it would modify for all the project files.

I see. If you always want to save everything maybe MRB is a better option (click the package icon). Or if you are doing a bit of customizing anyway and don’t want the MRB you could add a save dialog with just a single directory browser.

1 Like