How to add materials to my model?


So I made model in Dynamo, launched it in Revit, but now I would like to add materials to my elements. How can I do this? Please explain like for a beginner. Belowa I attached screens when I am in DYnamo/Revit and what nodes do I have.

Hi @siedlczy

Try using DirectShape.ByGeometry node it allows you to add materials.

1 Like

Thanks! I will try tomorrow and let You know how it works

And it’s not working. But I have few questions: What category should I set in “category” node? Does it depend on something? Where can I find material name? Should I type it from Revit?

I think Material Name has to be a String and its assuming you have Aluminum in you material library. so you would put “Aluminum”; in the code block… the quotes included