# Counting code block

**URL:** <https://forum.dynamobim.com/t/counting-code-block/57984>\
**Category:** Revit\
**Tags:** codeblock, dynamo\
**Created:** [December 4, 2020, 1:17pm UTC](https://forum.dynamobim.com/t/counting-code-block/57984 "2020-12-04T13:17:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [December 4, 2020, 3:01pm UTC](https://forum.dynamobim.com/t/counting-code-block/57984/3 "2020-12-04T15:01:43Z")

</div>

For future reference, here are the standard nomenclatures for different sequence patterns:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/d/adf7ac5bffaf25d1b1e38214bf9ab84e0ce32327.png)  
Generally, `i` is the initial value, `j` represents the number of steps, and `n` is the step value. Using a `#` changes the value to a count.

`0..10..3` = A sequence of 0 to 10 by 3.  
`0..10..#3` = A sequence of 0 to 10, counting 3 times.  
`0..#10..3` = A sequence starting at 0, counting 10 times by 3.

---

_[View the full topic](https://forum.dynamobim.com/t/counting-code-block/57984)._
