Rebar material extraction

hey, im trying to extract the material names from model rebar elements, I ve defined the rebar material in the model.
but when i use these nodes, it gives me empty lists, why is that?

You can try to get the Rebar Type for each rebar and then use Element.GetParameterByName, Then you will get the Material.

1 Like

Yes @ashwinash112 is right. To do this, use Element.ElementType and then use Element.GetParameterByName