This tutorial will show you how to setup a blueprint that will procedurally generate meshes along a spline with separate start and end meshes as well as other handy customization options.
I have used this system across many projects to quickly add cables, pipes etc and find it really handy and a big time saver!
Made in Unreal Engine 4.25.1
Link to my artstation: xanthesheppard.artstation.com