Adding a variable to the values in a list

Hi all, I’m new to Dynamo and I am trying to expedite labeling in Revit using dynamo.

How do I make the list number as a variable?

For example from the diagram, the CountTrue block is 14. This sets the limit for my maximum loop cycle. How do I set a variable in the list (e.g. x) so it starts from the beginning and ends when x=n+1?

Any advice would be extremely helpful! Thank you!

Regards Nate Soh

Hi @inferno9177

You can just get the spaces from level with just 3 nodes:

Thank @Kulkul! So simple and i missed it! You’ve saved me alot of time!