In Dynamo Revit, I have a list with sub-lists,
I want to get the list with the maximum items from each sub-list.
I got the count of each list, but when I try to get the index of the maximum item in the count, it returns null/-1/Empty List.
I have tried getting the Index Of
node , AllIndiciesOf
, and the FirstIndexOf
.
Also, I tried getting the type of the object that is returned by the Maximum Item
node and it is returning a double
.
Here is a screen shot of the script