Renumbering Instance parameter horizontally on screen

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

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

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

Hello James,

Maybe this renumber room graph can help you:

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

1 Like

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

Here is another way.

Thank you very much

Thank you Einar