Clockwork FamilyType.SetCompundLayerMaterial not using a list of materials

Hello everyone!

I’m making a script that modifies wall layers by taking specific letters from the Type Mark, and then matching them with data from na excel file. I’ve got all the data set up and wanted to use the Clockwork FamilyType.SetCompundLayer(Material/Width) nodes to actually change the layers. The one that changes the widths works as expected. The one for Materials seems to to ignore the fact that he’s getting a list, and only uses the first material from the list, and applies it to all the layers.

Any ideas what’s wrong? Maybe something in the python scripts within the nodes? I can’t tell since I don’t know almost anything about python used in Dynamo.

And another question. does anyone know how to modify the rest of the compound material parameters? like function.