Skip to main content
Inspiring
August 25, 2022
Question

get default values running sbsrender.exe

  • August 25, 2022
  • 0 replies
  • 157 views

Hi All,

 

Wondered if I had missed something, running sbsrender.exe on command line at the moment I'm having to create a separate set of code to manage each sbsar I run, they all share some inputs but then I sub class that in python and add whatever is unique to each material before using subprocess to run it.

 

This is all ok, but I'd like to make it more automated, I can pass info to the archive and get a list of the inputs back as below and it's got the type which is great but I'd like to get the default range as well or perhaps pull in the description and parse that

for all the float values this is not a problem as I make sure I normalise all of the inputs into the 0-1 range

 

but for ints it would be nice to have the range / description, example below.  I can do something hacky like adding the range into the name of the input for ints and do it like that but wondered if there was an official way or if I had missed an option somewhere

 

 

 

 

 

This topic has been closed for replies.