Get elements in order by wire connection?

Hey is it possible too get elements in the order by the wire connection? any ideas on how?

thinking about a script that can change running index on the elements by order on the wire.

1 Like

hi there, have you figure id out?

i am trying to do something slightly simpler than you are attemtpting :

selecting a wire to get the devices the wire connects to.

having no luck so far, revit lookup tool shows the 2 connector set but they i don’t see anything about the device they connect to (fire alarm devices)

which is really odd.