Set elements Type Name along a spline

So I am at the wall again I am trying to name the food service type names along a path. (I hate when we add a piece of equipment later and the numbers are not even close to any order) I ran into quite few problems but lets start with the first.

  1. the numbers kind of get close to the spline (had to use the bounding box Max and Min points Im sure this is not the best way)
  2. the rename only does the type parameters not the instance ones.
  3. it doesnt rename any of the Type Marks that are in a shared family in a family even though I can tag them as well.

Any help would be thankfull.

Food Service renumber (close).dyn (44.2 KB)

NV - Foodservice Tag.rfa (792 KB)

Custom Cabinet.rfa (1.9 MB)

QF_APW_HFW-3.rfa (1.1 MB)

OK fixed problem 1 I needed to put in a Element.ElementType node in the front now for the Family within the Family.

and I added another one if I have 2 or more of the same family is skips that number and goes with the last one it renames ugh.

It would really help if you would post your .dyn
with the preview bubbles pinned.

PS
There is also a node that lets you pick elements in order. Maybe that can be useful too.

Can you also post a Revit file with your Families arranged in the same way as you screenshot?

one ok on the view post and I can’t post a Revit file we can only upload a 10-meg file and Revit files don’t come that small lol.

So, the issue is that it takes the first family and renames it to 510 then it jumps to the next one and renames it to 511 then it jumps to the next family (which happens to be the same family as 510) and renames it to 512 (which also names the old family to 512) thus omitting 510)

Is there a way to just grab the first family it finds and not the 2nd one. sort of a bool mask way?

and still how can I dig into the family in a family issue

Thanks again for the help

Going to drop a hint here to help you learn how to fish. Try soem stuff out and let me know if iyou’re still stuck.

You are renaming family types, not families. In the UI you’d have to open the family properties each time you change the name. In doing so you’re finding the unique family types from the list of families and renaming them there.

This triggered me and made me look once again.

Missed this too the first time :see_no_evil_monkey::sweat_smile:.