Perfect, thank you both. I had been using the duplicate along path for rectangles, but then they don't follow the actual curvature of the line so these are great solutions.
Also happy for my first post and to have such quick and helpful responses - thanks 🙂