Register
Log in
Substance Forum
»
Substance Painter
»
Scripting
»
Setting the default export texture path
« Previous Topic
Next Topic »
Pages: [
1
]
Go Down
Author
Topic: Setting the default export texture path (Read 491 times)
david Fulton
Hello,
Was wondering if there is a way to set the default export texture path or possibly change it once a project is loaded.
thank you,
on:
March 10, 2020, 03:23:14 pm
Froyok
WWW
Yes, take a look at
alg.mapexport.setProjectExportOptions()
.
Reply #1 on:
March 10, 2020, 04:21:30 pm
Don't forget your
log file
. It can be exported from the
Help
menu of the software.
-----------
Fabrice Piquet aka Froyok. Product Manager, Technical Artist and Documentation at Adobe.
david Fulton
There is no option under this to set an export path also I feel like much of the documentation that is there could use examples of code. QML is not exactly a common language among TDs
Reply #2 on:
March 10, 2020, 05:18:11 pm
david Fulton
Reply #3 on:
March 10, 2020, 05:19:50 pm
david Fulton
well I found a kinda hacky work around I guess
Code:
[Select]
var options = {"path":"place to where you want"}
alg.mapexport.showExportDialog(options)
looks like once it linked it in the window it keeps that as the export path
Reply #4 on:
March 10, 2020, 08:07:07 pm
Froyok
WWW
Indeed, the function I mentioned doesn't have a setting to specify the path, I was mistaken.
What you noted in your last post is indeed the only way to edit the project export path currently.
Reply #5 on:
March 17, 2020, 06:06:56 pm
Don't forget your
log file
. It can be exported from the
Help
menu of the software.
-----------
Fabrice Piquet aka Froyok. Product Manager, Technical Artist and Documentation at Adobe.
Pages: [
1
]
Go Up
« Previous Topic
Next Topic »
Substance Forum
»
Substance Painter
»
Scripting
»
Setting the default export texture path