Author Topic: I need python API that file selection window  (Read 420 times)

Is there a substance Designer pyton API that can bring up a file selection window similar to maya's fileDialog and load textures?

Hi,

You can use QtForPython's QFileDialog class to open a file chooser.
https://doc.qt.io/qtforpython-5/PySide2/QtWidgets/QFileDialog.html
After that, you can use the returned filename to create a resource or any other thing you need.

Est.