Need help with Element IDs

Hi everyone, I’m a new user of dynamo and don’t know any python programming. Can anyone explain to me whats wrong with these nodes i have. Both nodes are from different packages. Thanks in advance

You have only one element with correct Element.ID. Why are others 0? If you had all elements in list you could then change the level of element to @L1 in Element.Materials node.

I believe you need to remove the nulls using a list.clean node and preserve indices are set to false. See if that helps, the null’s are probably causing part of the issue.
Hope This Helps!

2 Likes

I only have one element in the list right now. It can be more than one elements.