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
sbsbakerslibrary
Content included in sbsbakers module:
Module sbsbakerslibrary provides the libraries of Bakers and their parameters that are defined in the modules sbsbakersdef
and sbsbakingparameters
.
sbsbakers.sbsbakerslibrary.getBakerDefaultIdentifier(aBaker)
Get the default string identifier of the given baker (from its ConverterID or identifier)
Parameters: | aBaker (BakerEnum or str (ConverterID or identifier)) – baker identifier |
---|---|
Returns: | the default identifier as a string |
sbsbakers.sbsbakerslibrary.getBakerDefinition(aBaker)
Get the definition of the given baker identifier (from its ConverterID or identifier)
Parameters: | aBaker (BakerEnum or str (ConverterID or identifier)) – baker identifier |
---|---|
Returns: | a BakingConverter object if found, None otherwise |
sbsbakers.sbsbakerslibrary.getBakerEnum(aBakerID)
Get the enum value of the given baker (from its ConverterID or identifier)
Parameters: | aBakerID (str) – baker ConverterID (ex: ‘BakerMeshConverterGLMapBakerManager.Curvature’) or identifier (ex: ‘Curvature [2]’) |
---|---|
Returns: | the baker as a BakerEnum |