# Auto element numbering by location and section

**URL:** <https://forum.dynamobim.com/t/auto-element-numbering-by-location-and-section/25500>\
**Category:** Uncategorized\
**Created:** [September 3, 2018, 10:21pm UTC](https://forum.dynamobim.com/t/auto-element-numbering-by-location-and-section/25500 "2018-09-03T22:21:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmowery](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmowery](https://forum.dynamobim.com/u/jmowery)\
**Post date:** [September 3, 2018, 10:21pm UTC](https://forum.dynamobim.com/t/auto-element-numbering-by-location-and-section/25500/1 "2018-09-03T22:21:04Z")

</div>

I have an auto number definition and I want to add to it. I have made a few groups called location and section. I would like to filter by these when true. I just cant seem to connect the last bit. Can anyone point me in the right direction? Thanks for the help!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/5/55447d294117625551ffa4915e0d7e6bd126f78c.png)

---

<div class="post-metadata">

**Author:** ![salvatoredragotta](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/salvatoredragotta/32/10078_2.png) [@salvatoredragotta](https://forum.dynamobim.com/u/salvatoredragotta)\
**Post date:** [September 3, 2018, 10:43pm UTC](https://forum.dynamobim.com/t/auto-element-numbering-by-location-and-section/25500/2 "2018-09-03T22:43:01Z")

</div>

@jmowery How do you want to filter? independently? if so you can use List.FilterByBoolMask (you have already the list of booleans=mask)

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/a/9a01c1062de40f1f9dfa059b97b2215946f728dd.png)

---

<div class="post-metadata">

**Author:** ![jmowery](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmowery](https://forum.dynamobim.com/u/jmowery)\
**Post date:** [September 6, 2018, 6:55pm UTC](https://forum.dynamobim.com/t/auto-element-numbering-by-location-and-section/25500/3 "2018-09-06T18:55:27Z")

</div>

I had to work with it a bit, but your tip helped me to get there. Thanks for the help, you guys are great!
