Author Topic: Reach a substance in a .Sbsar via script  (Read 786 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
Integrations Product Manager / Training
wes.mcdermott@allegorithmic.com
Twitter: The3DNinja