# Renumbering Instance parameter horizontally on screen

**URL:** <https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355>\
**Category:** Revit\
**Created:** [August 1, 2016, 4:29pm UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355 "2016-08-01T16:29:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [August 1, 2016, 4:29pm UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/1 "2016-08-01T16:29:01Z")

</div>

Hi there

I’ve managed to create a code to rename the instance mark of a family by using the Element ID. The problem is that it seems to be numbering them in the sequence that the family was placed in the project.

What I’m really after is for Dynamo to read the families from left to right down the page and renumber the mark in that fashion. Is this possible?

Also is it possible to filter an item out of a list not by index but by a family name?

Any comments you may have would appreciate.

Thank you

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 1, 2016, 4:54pm UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/2 "2016-08-01T16:54:02Z")

</div>

> [@James\_Washbourne](#):
>
> is it possible to filter an item out of a list not by index but by a family name?

Hi James,  
One of the possible way to filter list by family name is to use “ElementsFilter.ByName” from clockwork package.

---

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [August 1, 2016, 7:32pm UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/3 "2016-08-01T19:32:14Z")

</div>

Thank you! Does anyone have a solution to the first part?

---

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [August 1, 2016, 7:43pm UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/4 "2016-08-01T19:43:02Z")

</div>

Hello James,

Maybe this renumber room graph can help you:

> [@Reorder a list](https://forum.dynamobim.com/t/reorder-a-list/4001/2):
>
> Initial Room Order [20160515-1a] Run definition File: [RenumberRooms.dyn](http://dynamobim.org/wp-content/uploads/forum-assets/testingwaters/05/15/RenumberRooms.dyn) [20160515-1c] Room order after running above definition [20160515-1b]

If you post your graph (screenshot and file) it would be easier to help with your specific case.

---

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [August 2, 2016, 9:12am UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/5 "2016-08-02T09:12:12Z")

</div>

Kulkul,

I’ve download that clockwork package but for some reason the “ElementsFilter.ByName” doesn’t seem to load. Do you have another alternative or can you think of reason why its not showing in the search bar.

Thank you

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 2, 2016, 10:28am UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/6 "2016-08-02T10:28:59Z")

</div>

Here is another way.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/0/0eda55d3fbf003b20547e64481b1de19364c8a14.png)

---

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [August 2, 2016, 10:38am UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/7 "2016-08-02T10:38:18Z")

</div>

Thank you very much

---

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [August 2, 2016, 10:38am UTC](https://forum.dynamobim.com/t/renumbering-instance-parameter-horizontally-on-screen/5355/8 "2016-08-02T10:38:31Z")

</div>

Thank you Einar
