Last updated on
May 24, 2023
- Substance 3D home
- Home
- Command Line Tools
- Command Line overview
- sbsbaker
- sbscooker
- sbsmtools
- sbsmutator
- sbsrender
- sbsupdater
- Command Line overview
- Pysbs - Python API
- Pysbs - Python API overview
- Getting started
- General topics
- Examples
- API Content
- API Content overview
- Substance definitions
- Common interfaces
- compnode
- context projectmgr
- graph
- mdl
- modelgraphindex
- modelannotationnames
- modelgraph
- modelgraphgenerator
- modelgraphimplementation
- modelnodenames
- modeloperand
- modulegraphindex
- moduleannotation
- moduleconnection
- modulegraph
- modulegraphgenerator
- modulegraphimplementation
- modulegraphlibrary
- modulegraphregister
- modulenode
- modulenodeimplementation
- modulenodeinstance
- moduleoperand
- moduleoutputbridging
- moduleparaminput
- params
- projectmgrdoc
- sbsarchive
- sbscommon
- sbspreset
- sbsproject
- substance
- Libraries
- sbsenum
- sbslibrary
- sbsbakerslibrary
- Helpers
- Execution context
- API Change log
- Samples
- Setup and Getting Started
- Integrations
- Substance Maya toolset
- Changelog overview
sbsmutator Example Command Lines
This page contains examples of command lines for various environments to showcase how to invoke the command line processors. In the examples, the command line tools are assumed to be in the PATH.
Modify an SBS file to connect bitmap to input nodes of a graph
sbsmutator edit --input /an/sbs/file/foo.sbs --connect-image "input1"@path@"/an/image/to/connect/bar.png" --output-path {inputPath} --output-name {inputName}
input1 is the identifier of the input node.
Patterns {inputName} and {inputPath} will be replaced by the input name and input path. Consequently, the foo.sbs entry will be overwritten by the new modified SBS file.