# Automating numbering of devices in Revit through Dynamo

**URL:** <https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046>\
**Category:** Revit\
**Created:** [December 12, 2022, 12:09pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046 "2022-12-12T12:09:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tofy.almawlani99](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@tofy.almawlani99](https://forum.dynamobim.com/u/tofy.almawlani99)\
**Post date:** [December 12, 2022, 12:09pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/1 "2022-12-12T12:09:50Z")

</div>

Hi,  
I want to ask if it is possible to automate numbering of devices in Revit through Dynamo?  
Example :  
I do fire alarm looping connecting all fire alarm devices in one loop of cables. Then, I shall give all devices connected to the loop a unique tag of numbering (eg. L1D30) → L1 indicated loop 1 and D30 indicated device number 30 in that loop.

One problem I face is sometimes I connect new devices to the loop, and since the numbering is done manually, I have to renumber all devices again.

So, to avoid all of this hustle of renumbering the devices, can it be automated through dynamo?

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [December 12, 2022, 1:17pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/2 "2022-12-12T13:17:49Z")

</div>

Yes. It is possible.

---

<div class="post-metadata">

**Author:** ![tofy.almawlani99](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@tofy.almawlani99](https://forum.dynamobim.com/u/tofy.almawlani99)\
**Post date:** [December 12, 2022, 2:21pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/4 "2022-12-12T14:21:59Z")

</div>

Can you please advise on the steps I can take to make this possible? or refer me to any source.

Thank you.

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [December 12, 2022, 2:23pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/5 "2022-12-12T14:23:06Z")

</div>

Post what you have so far.

---

<div class="post-metadata">

**Author:** ![tofy.almawlani99](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@tofy.almawlani99](https://forum.dynamobim.com/u/tofy.almawlani99)\
**Post date:** [December 12, 2022, 2:25pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/7 "2022-12-12T14:25:13Z")

</div>

I don’t have anything now, I just had this problem with a project I am working on and I thought of this solution.

So anything will be beneficial.

---

<div class="post-metadata">

**Author:** ![lee6800](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lee6800/32/82529_2.png) [@lee6800](https://forum.dynamobim.com/u/lee6800)\
**Post date:** [December 12, 2022, 4:56pm UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/9 "2022-12-12T16:56:15Z")

</div>

> [@Numbering elements by type](https://forum.dynamobim.com/t/numbering-elements-by-type/83086):
>
> Hello, I am trying to create a graph that numbers elements from 001 to xxx based on their types. For example copper pipe bend start at 001 to xxx, copper tee start at 001 to xxx, pvc pipe bends start at 001 to xxx and so one I am not sure how to get all the elements that are in same type group in a list so I can count and add sequential numbers to them. Thank you very much for your help and support in advance

Maybe this will be a starting point for you.

---

<div class="post-metadata">

**Author:** ![tofy.almawlani99](https://avatars.discourse-cdn.com/v4/letter/t/94ad74/32.png) [@tofy.almawlani99](https://forum.dynamobim.com/u/tofy.almawlani99)\
**Post date:** [December 13, 2022, 6:49am UTC](https://forum.dynamobim.com/t/automating-numbering-of-devices-in-revit-through-dynamo/84046/10 "2022-12-13T06:49:14Z")

</div>

Thank you so much!
