Create curb along ramp face

Here is a topic about arraying on a path, you can use a similar approach: Array to Path.

For placing the elements try the FamilyInstance.ByFacePoints node from the Springs package: Face based family at a point on a face

(I found both solutions in this forum, why people don’t use the search before posting? You just waited for me two hours to search it for you, but you could get the answer in 1 second… The keywords I searched for was: “array path” and “face based”)