Author Topic: set material color and label?  (Read 89 times)

0 Members and 1 Guest are viewing this topic.

Offline andy.engelkemier

set material color and label?
« on: October 12, 2020, 01:41:37 pm »
I scanned through documentation and it Looks like you can't do this, but I thought I'd ask.

I'd like to create a folder of textures with specific ID's in the name. Then either a text file, cvs, xml, whatever might work, that contained a hex value.
The script would run through and either change the material and textures for each, and render the file, with that given ID name. OR alternatively it would create a multi-material with All the color variations, and also create a studio for each one. That seems messier, but you could then render them all by just adding all the studios to the queue at once, which would probably be better if you plan on using the network to render.

Either way, I don't think any of this is possible? But I figured I'd ask.
This is the kind of thing that is useful to me for scripting. Creating all the material options is the time consuming part. Oh, that and fixing the mess of files you get output from animations.  ::)

Offline mattjgerard

Re: set material color and label?
« Reply #1 on: October 13, 2020, 06:29:08 am »
I reaaaaaaaly wish scripting was much more accessible to the average user. It seems very thinly documented, and not user friendly in a Keyshot specific way. Other than cramming in a month of python programming classes, theres really no way for the non-coder to access (or just know what is possible) the scripting side of things.