Creating more than 1 material... What am I doing wrong?

How come it’s only creating one material, not two?

Hi @Alien,

The lists of inputs have unequal length (null and lists of data) so use the longest lacing on the Material Create node.

3 Likes

Ah thanks, why didn’t that ocour to me!

I knew that was the problem… but did it in python like an idiot.

Your solution makes way more sense :smiley:

1 Like

It’d be nice to have the option to overwrite or not in that node. :slight_smile:

The custom node can already overwrite properties of existing materials :

I know. I’m suggesting it’d be nice to have the option NOT to overwrite.

You could compare your list of material names against the names of all existing materials and filter the matching ones out prior to feeding into the Material Create node. Or you could copy the code and create your own custom node and either remove the section of code that @Alban_de_Chasteigner shows in his clip or take it a step further and modify the code and have that part only run based on true being inputted in. This will give you the option to overwrite existing or not.

1 Like

I did both…
But I was suggesting it’d be a cool upgrade for the node :slight_smile:

Gotcha!