Align 3D Views with Section views

Hi, Im looking for some help or guidance to a problem im trying to resolve:

I have created a dynamo graph which creates 3D views and Section views. This all works fine. What i would also like it to be able to do is to take the list of 3d views and orientate them to a list of section views. ( as you can do in the context menu in a 3d view within revit) .

Does anyone know if this is possible?

I’ve found the example with python and have tried to modify it without any luck