What's wrong with Material.ByName

i want create a material with a string, but got a error?
what happened?

What does the error say?

it says material does not exist in this document

It’s a selection node, not a creation node. There’s a node in Clockwork that lets you duplicate materials but it’s currently broken. The fixed version will be in the next release of Clockwork. If you need it urgently, you can get it here:

2 Likes

@Andreas_Dieckmann. thanks, Material.Duplicate is worked.
Does it means there is no Node could create a material?

not ootb but the API exposes a method to do so