Revit / Dynamo - How to get a nested list item.

How to get a nested list item by index in Dynamo (the easy way).

Revit / Dynamo - How to get a nested list item.

Revit / Dynamo - How to get a nested list item.

I found a super simple way to get a nested list item at index using Design Script using a single node.

The Code Block in the example:

x[0][33][1];

Where:

x      =  Input for your list

[0]    =  Parent List

[33]  =  The nested list item #1 within Parent

[1]    =  The list item nested within the nested list item #1

 

2 responses to “How to get a nested list item by index in Dynamo (the easy way).”

  1. Layth Huweil Avatar

    Hi,

    Do you also know how we can keep the list structure with that code?

    1. I’m not quite sure that I follow the question. This particular code block is only intended to return a single list item from within a nested list.

Leave a Reply

Your email address will not be published. Required fields are marked *