Any way to link cables from previous sockets to next set of sockets automatically?

Very new to blueprinting. Currently trying to make a PCG powerline system that links powerlines along a spline. I’ve got the spline placement to work by getting a blueprint actor to use the pcg spline to spawn actors along it, and can manually link each powerline by selecting the target (which is done using this blueprint here: Procedural Power Lines posted by zwdonald | blueprintUE | PasteBin For Unreal Engine ), but i need it to select the next powerpole in the spline as the target and auto link cables between. Can’t figure it out for the life of me, I’ve thought of ways it could work such as using a parenting system to link the child to the parent after each placement, or using the pcg index of each point to link those, but i don’t have the knowledge to actually implement any of this and can’t find anywhere explaining it well