Documentation for Substance Automation Toolkit is now included in the SAT package. You can access the documentation by opening html-doc.zip inside your downloaded SAT package.
functions
Module functions contains functions that can be called by Substance Designer application, if it is configured in the preferences.
functions.getGraphExportOptions(aContext, aPackageFileAbsPath='', aGraphIdentifier='')
Get the options used to fill the widget used to export a graph outputs
| Parameters: |
|
|---|---|
| Returns: |
a
|
functions.onAfterFileSaved(aContext, aFileAbsPath='', aSucceed=True, aUserData='')
This function can be called by Substance Designer if configured to. It is called after a save process has been triggered. The parameter names of this function must not be changed otherwise the call from SD will fail.
| Parameters: |
|
|---|---|
| Returns: | Nothing |
functions.onBeforeFileSaved(aContext, aFileAbsPath='', aPackageFileAbsPath='')
This function can be called by Substance Designer if configured to. It is called when a file is about to be saved on disk. The parameter names of this function must not be changed otherwise the call from SD will fail.
| Parameters: |
|
|---|---|
| Returns: |
a
|