- Command Line overview
- sbsbaker
- sbscooker
- sbsmtools
- sbsmutator
- sbsrender
- sbsupdater
- Pysbs - Python API overview
- Getting started
- General topics
- Examples
- Substance Maya toolset
- Substance 3D home
- Home
-
Command Line Tools
- Command Line overview
- sbsbaker
- sbscooker
- sbsmtools
- sbsmutator
- sbsrender
- sbsupdater
- Samples
- Setup and Getting Started
-
Integrations
- Substance Maya toolset
- Changelog overview
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
|