On the Active View, I’d like to check out Elements in selected Category ( in this graph, I tried to get ‘Doors’) which have the warnings. I used ‘Element.ID’ to sort out Elements. But, I want to know the warning description that the selected Elements belong to. But, I can’t do ( or match the sublist to the selected list). Can you help me to proceed this work?
Thank you.
Dynamo : v2.0.2 Revit: 2019 Window 10
You can test the graph on any project file.
I tested your graph, but I got the error message on ‘List.SortByKeys’
As you can see, the list of warning description and list of the failing elements are not same because the list is flatten.
If I have to use ‘List.SortByKeys’, I have to use ‘WarningTools.GetWarnings’ as their list structure is same. The sublist of failing elements have diverse elements so the flatten list is bigger than the warning description list.
Thank you for the solution. It works.
In the active view, I can get doors which has the warnings and retrieve the warning description to the selected door elements.
Filtered By Boolean on the warning list & the failing element sublist, I got the doors in active views and doors in conflict with them together.
That is better as I can check out doors on the view and doors in duplication warning with them.
I found two doors on the view for ‘identical instance’ warning - last warning.
Thanks again.