Register
Log in
Substance Forum
»
Substance Designer
»
Scripting
»
I need python API that file selection window
« Previous Topic
Next Topic »
Pages: [
1
]
Go Down
Author
Topic: I need python API that file selection window (Read 994 times)
kurusu
Is there a substance Designer pyton API that can bring up a file selection window similar to maya's fileDialog and load textures?
on:
May 23, 2021, 03:34:38 pm
Esteban Tovagliari
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.
Reply #1 on:
May 24, 2021, 09:17:00 am
Pages: [
1
]
Go Up
« Previous Topic
Next Topic »
Substance Forum
»
Substance Designer
»
Scripting
»
I need python API that file selection window