Last updated on
Sep 15, 2025
Note
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.
sbsarmanager
class sbsarchive.sbsarmanager.SBSARManager(aArchive)
Bases: object
Class SBSARManager to manipulate sbsar file. Must be used with the with statement.
Parameters: | aArchive – an sbsarchive.SBSArchive or absolute file path |
---|
addIcon(aGraphIdentifier, aIconPath, replaceIfExists=False)
Add an icon file to the sbsar for the given graph identifier
Parameters: |
|
---|---|
Returns: |
|
changeInputValueFromName(aInputIndentifier, aType, aValue)
Parameters: |
|
---|---|
Type: | aType: sbsarenum.SBSARTypeEnum |
Returns: |
|
save()
Save the sbsar modification
Returns: |
---|
saveAs(aArchiveFilePath)
Save as the sbsar modification
Parameters: | aArchiveFilePath – a valid file path |
---|---|
Returns: |
saveIcon(aGraphIdentifier, aOutputDir)
extract the graph’s icon to the given output directory
Parameters: |
|
---|---|
Returns: |
|
class sbsarchive.sbsarmanager.SBSArchive
Bases: object