Connecting two matrix objects via index nr.

Hey guys,
I'm sure there is probably a quick way to connect/draw splines between two different matrix objects via their index numbers?! Maybe via nodes?
Any hint appreciated
Cheers, R.

Hi RemoGambacciani,
Please look here at how to produce the splines for a static solution and how to produce the spline object for an animateable solution.
Here are the same Matrix objects as above, but they change position and rotation.
Is that working for you?
Cheers

Thank you for that @DrSassi !
The second/animated one is really cool indeed!How can I control the number of connections? In my setup/matrix object, there are a couple more matrices...is there a way to link it to the number of matrices?
I feel like it breaks if its more than 35 matrices.... 
Thanks, RemoGambacciani, for the feedback.
I'm unclear if you need more segments; the setup has a fixed number. If fixed, produce as in file 01 shown, then use it as in file 11 from above.
If you like to change it over time, I do it this way:
I produce just enough segments (copy the Spline from 01 many times, then "Connect+Delete"). The XPresso with the lower priority sets all Segments to zero, and the Xpresso with the higher priority sets the needed one to the points. Point numbers are in the Structure Manager.
In the example, the Matrix (not the Matrix.1) is the one that rules.
There are options in Python to produce Splines and segments, but I don't do Python here; that would be a question for the Maxon Developer CafÃ©.
Prioritywise, there is always a problem with producing and moving the/just generated items. For example, if you use a Python script, the data should go into a list/tuple/dictionary. So it is available from the frame .calcualtion start. Again, it is not my place nor what I provide here.
All the best!

BIG THANKS @DrSassi...you are killing it again
This last one works for me! 
Thanks a lot for the kind feedback, RemoGambacciani.
My best wishes for your project