Set the Analog values (VideoOut-x and AudioOut-x) for the route you want - 0d to 8d - 0d is no route, 1-8d is inputs 1-8
Use an AOS on the analogs to trigger the VideoEnter and AudioEnter to send (Take) the routes. that's it...
Assuming you don't need to separate video and audio, and thus AudioBreakAway is low or undefined, all you need to do is have the VideoOut analogs set, the audio will naturally follow.
Use (2) AOS's and OR their outputs into the VideoEnter
HTH