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
sbsrender_render_handlers
Example of usage with SbsRenderOutputHandler (output_handlers module):
out = batchtools.sbsrender_render("output.sbsar", output_handler=True) # print results print("out.output", out.output) for graph in out.get_results(): print("graph.identifier", graph.identifier) for output in graph.outputs: print("output.identifier", output.identifier, type(output.identifier)) print("output.label", output.label, type(output.label)) print("output.type", output.type, type(output.type)) print("output.uid", output.uid, type(output.uid)) print("output.usages", output.usages, type(output.usages)) print("output.value", output.value, type(output.value)) print("rendering Finish")
class batchtools.sbsrender_render_handlers.SbsRenderGraphStruct(identifier='', outputs=None)
Bases: object
class batchtools.sbsrender_render_handlers.SbsRenderOutputStruct(identifier='', label='', type='', uid=0, usages=None, value=None)
Bases: object
Depend of SbsRenderOutputHandler
. Simple structure of the graph’s output. To get an object instead of a dict.
Parameters: |
|
---|