Is there a way, using geometry nodes, to retrieve the number of splines from a curve object? It seems to be a very straightforward question, but I cannot come up with a solution.
I'm not sure all of this is relevant, but just in case, here is exactly what I'm trying to do. I'm creating some text animations and I have some nodes that morph one curve into another. As the "Factor" from the group input moves from 0 to 1, the initial curve is transformed into the final curve. An example is shown morphing "1+2" into "3+4".
In this example, the initial curve "1+2" has 3 splines. The final curve "3+4" has 4 splines. To ensure the curve ends up looking right after the morph, I add a fourth spline to the initial curve before morphing. This is done by the nodes in the "Add Splines" frame. My issue is, depending on the curves involved I may need to add a different number of splines. I'd like to get the number of splines in the initial and final curves so that I can plug the difference into the "Amount" input of the duplicate geometry node. I can't figure out how to get this information though.