Can i extract material name from every elements if they have it?

Hi ! I’m noob’s in dynamo.
I want to extract material name from elements and set it to a parameter, if they have it.
I set my nodes and always i triy run dynamo to revit
The msg “serious problem occur…”
Can you guys check my algorithm for me?
thanks for help


from south korea, Lee

Yes, you just have to do this:
image
You’re currently getting the element’s actual Material and trying to use that as if it were a Parameter. Rather, you should use the GetParameterValueByName node.


Cannot see anything after the nodes T^T
Even cannot understand how that nodes working

So sorry about my ignorance, can you tell me more detail?

thanks a lot :slight_smile: