Get cable / Conduit route (tab) commando

Hi all,

I’m trying te get a cable tray route from a element to the switchboard for example.
From the element to the nearest cable i have already working ( probably a roundabout way, didn’t used python ).
My question, is there a way to get the tab commando to get all element from one element to a other element in the system. in dynamo.
In Revit i select one cable tray for example and at the end of the cable tray i use tab to get all connected elements between those elements.

I hope it’s clear what trying to get.

Thanks in advance

Tim

You can try this:

Hi Einar, I think Tim just wanted to select the elements in the route between two selected elements. And that’s what I want to know too.
Like this:

Is it possible to do in Dynamo?