Structural Layer of Walls in a single parameter

I want to obtain the type parameter “layers” for all my walls. I want this parameter to get the following value: “1.Material1 (thickness); 2.Material2 (thickness);…” and so on up to the last material. so that I can obtain a nice schedule with all wall materials. how to do it in Dynamo?There was a topis some time ago but nobody solved it.

Are you looking for something like this?

1 Like

Yes yes yes - it works. Only problem is, it gives me a watch list for only one wall type, while I want to assign this parameter for all wall types

Earlier you said you wanted a list for a schedule? Now you want to assign a parameter?

If this is what you need but for every wall or wall type in your project then i need you to do some work and give it a good shot, the fundamentals are here for you to work from.

yeah i would try create a multiline parameter as i guees it meant to a single parameter…but not sure :wink:

1 Like

It worked! But just for one wall so I have to manually set all my walls in the project. Is there a way to do it for all wall types automatically? Here is screen from what I did:


Does this help?

@remigiuszCNFU2 You should now have all the pieces of the puzzle.
You will need to toy with Lists and Lacing to finish this off.

Take a look at the https://primer.dynamobim.org/

1 Like

ALMOST :slight_smile:


I’ve gone here. I have an array of wall types in the Watch list 1 (see screen) and the array of wall layers in the watch list 2. - all I want is to assign the parameter P3.Warstwy for wall type N (from the list 1) an array number N from the list 2. It should work with the Element.SetParameterByName string - but it doesn’t :confused: And it works for a single wall. Where is the mistake?

Levels or lacing on the set parameter node :wink:

it worked! it was enough to use List.Flatten - although I got no idea what it means, just a random string :)))


Thanks for all replies!

BTW. It shows me such warning, although the script works well, do u know what it means and how to clean it up?

Likely that of your walls has a ‘by category’ layer in the assembly.

Does a material have a Description parameter?

It does and the script properly takes the description parameter from the material. As I mentioned, script works well, only this warning shows up, but even though the script works.

Put a watch node in between the erroring node and the ‘materials’ output of the prior node. One of the items will likely read ‘null’.