# How to tag every changed diameter pipe in revit - dynamo?

**URL:** <https://forum.dynamobim.com/t/how-to-tag-every-changed-diameter-pipe-in-revit-dynamo/44643>\
**Category:** Uncategorized\
**Tags:** revit, python, dynamo\
**Created:** [December 18, 2019, 10:30am UTC](https://forum.dynamobim.com/t/how-to-tag-every-changed-diameter-pipe-in-revit-dynamo/44643 "2019-12-18T10:30:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![milos.sumenkovic](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@milos.sumenkovic](https://forum.dynamobim.com/u/milos.sumenkovic)\
**Post date:** [December 18, 2019, 10:30am UTC](https://forum.dynamobim.com/t/how-to-tag-every-changed-diameter-pipe-in-revit-dynamo/44643/1 "2019-12-18T10:30:09Z")

</div>

Hello dear Colleagues 🙂

I need some help… I want to tag every changed pipe diameter. Specifically, I mean sprinkler systems where depending on the change in pipe diameter (because of the number of the consumers), each new pipe diameter will be tagged. I want to avoid tagging all the diameters because there are too many marks.

Does anyone have a solution?  
Thank you…

---

<div class="post-metadata">

**Author:** ![Peter\_Jenkins](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@Peter\_Jenkins](https://forum.dynamobim.com/u/Peter_Jenkins)\
**Post date:** [December 18, 2019, 11:42am UTC](https://forum.dynamobim.com/t/how-to-tag-every-changed-diameter-pipe-in-revit-dynamo/44643/2 "2019-12-18T11:42:18Z")

</div>

I would start with comparing an elements parameter with the next elements parameter, using a shift indices you can compare the next elements in the system, then using a == node you can get a Boolean value and get those filtered elements only using a list all indicies of node with a get item at index node.

I don’t work with model elements in dynamo much but I hope this starts you off.

 ![List pipe](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/c/9c25934412c9faac1307948b61404e2dc62028c1.png)
