Distributing objects (i.e. blocks) along a path

Hello,

is ist possible yet to place objects along a path, with either similar distance, or place a certain amount of evenly spaced objects on that path?

Thankx in advance 

Oliver