List of list revit dynamo

it’s my data



I need to get an effect as in the second photo

You’re going to need to show an example of what you’re after. It sounds like you want to group by key and then handle lists. List handling is usually just managing list structure and list levels, but we can’t give any more help without seeing what you’re actually doing.

I added a photo that illustrates me what list I need.
It’s best if 0 listr and 1 list would be called ‘grass’ and ‘sidewalk’ so that I could use this name

I would restructure your data so column 1 is always “grass” or “sidewalk” or whatever key you have in Excel. Will make things much easier as you can directly group by key. Short of that you’ll have to post process in Dynamo which will vary depending on how well structured your data is (if pre-processing it in Excel isn’t an issue then it’s going to be such a mess that it isn’t scalable).

It is possible to do but Grass will not be a unique value

Doesn’t have to be. This will group ‘grass’ values and ‘ocean’ values (or any other words you add to the list, as long as the list has a consistent structure).