Next question… when I grab the element parameters for the wall types they are not in the same order. The Assembly Code, for example, in one list is at index 42 and in another list is at index 22. I figured I’d be grabbing the parameter at a specific index but that means I need to get the parameters in the same order.
Thoughts? Is there a way to grab just the parameter I want using a String?
Edit - Okay. I figured out a way to extract just the parameter I want. It’s probably the long way around but I’m making this up as I go along – String from Object - String.Contains - List.FilterByBoolMask - Flatten - String from Object - String.Remove (the first so many characters… it would be nice to just pull everything after a delimiter) - List.UniqueItems - etc. – like I said, it works but on a large dataset will probably take some time.
Problem now is that the Assembly Code shows blank in Dynamo even though it has a value in Revit. Is this parameter just not exposed or am I missing something else?
Color Element by Type Parameter