Cable trays

Hello there! In my projectI have cable trays and wires connecting electrical fixtures. So I’d like to find out if it’s possible to assign a cable to a tray based on their trajectory? Like in the picture if trajectories coincide the tray is beign marked with circuits passing along it. Thanks in advance.