Copy link to clipboard
Copied
I am writing a custom script for Substance Designer and want to use the Python API rather than the soon-to-be-deprecated scripting feature. Where can I find the functionality of the getGraphExportOptions callback in the Python API? I see the other four callbacks (related to file save and file load) but nothing related to the export options. Thank you for your help!
Copy link to clipboard
Copied
Hi,
There is no equivalent to the getGraphExportOptions in the API. There are some technical reasons that make it hard to add a similar callback.
Everything that is needed to implement your own graph export is available in the API.
It is extra work but in some cases writing your own has extra benefits. For example you could add validation steps before exporting or maybe publishing the exported textures in an asset manager.
Est.
Copy link to clipboard
Copied
Hi Est,
Thanks for your reply. Yes, I've begun an alternate implementation using the API.
Marianne