Change Multiple Wall Type Layers - List Logic

revit

#1

I am trying to change the material of multiple layers of multiple walls and I believe I am just missing something in the list logic / lacing.

In the attached image you can see that I have a list of wall and a list of layer indices I want to change, but I can’t get all layers of each wall but it changes all layers in every wall. Any help would be appreciated and thanks in advance.

I have tried counting and cycling, but that didn’t work for me either.



#2

Thanks @awilliams for your link on another post. All I needed was the list levels to be correct and it worked great!