Author Topic: Reach a substance in a .Sbsar via script  (Read 868 times)

Hey there!

I'm currently making a code to attribute a substance to different part of a model via a script ( because i do this for at least a thousand elements) but i've got an issue when i use a .sbsar with different substances in it like this one: ,.

For a simple substance, i use this code, which works nicely.

But i can't find a way to access a specific substance in the upper case...

As anyone already done it?

Thanks!

Hey there!

I'm currently making a code to attribute a substance to different part of a model via a script ( because i do this for at least a thousand elements) but i've got an issue when i use a .sbsar with different substances in it like this one:

For a simple substance, i use this code, which works nicely.

But i can't find a way to access a specific substance in the upper case...

As anyone already done it?

Thanks!

Hi,

Do you mean the file name of the substance is uppercase?

Cheers,
Wes
Head of Substance Demo Art Team
the3dninja@adobe.com
Twitter: The3DNinja