How to sort Elements by BuildIn-Parameters?


Hello,

So my task is to get the “loadbearing Materials”. we have also a naming convention for that but it does not work. either i got a empty list or i got emty values (by Index)?

KR

Andreas

I checked also the walls, the have the correct materials

If this graph works for other elements, than the problem is not with this part. Check with Element.parameters node if the element has the ‘Tragendes Material’ parameter. This node should list all available parameters of an element.

Can you share your whole graph?

Test.dyn (40.8 KB)

So i get the information from the wall an it should be set to a Parameter in a door!

It workes partly, but for some reason, not for all doors(walls)

KR

Andreas

This dyn file is a dynamo 1.3 file. Consider updating to 2.x, as 1.x is not really supported anymore, and the 2 versions are not truely compatible to each other. The only reason to use dynamo 1.x if you are using Revit 2016, but it’s not supported by Autodesk since 2018 March: https://primer.dynamobim.org/en/08_Dynamo-for-Revit/8-1_The-Revit-Connection.html#revit-version-compatibility

Your graph seems good to me, so I guess the problem is with the Revit elements, some of them simply doesn’t contain the parameters you are looking for?

I cannot check your graph without the missing nodes, and without seeing the revit file, it seems like a specific problem in your Revit file. Also for me the Slice String node is also red, meaning it’s a missing node, is it missing for you as well? If a node is missing you cannot run your graph, data flow will stop at that node (but you already feeding it with an empty list, so this is not the root of your problem.)

Maybe can you create a screenshot, where every node and every node’s output is visible? Because your current screenshots don’t help at all, you don’t show the problematic parts, only parts which are after the problem. Showing only the “Empty List” output is not helpful.