That is not going to be possible with any native AutoCAD command. The Circle-and-vertical-Line part could be a Block, with the Circle on Layer 0 so that it can be Inserted on red and blue Layers. But the red and blue ones can't be a regular Block together, because the angle between them is different at every location. And the green Line could be a separate Block with its insertion point at the bottom end of a yellow Line. But since the relationships vary with every location, and the angle of the green likewise, it would require something like an AutoLisp routine to calculate the insertion points, and for the green, the angles. The green could also be a Line rather than a Block, but again, a routine would be needed to calculate its endpoints at each location, relative to the bottom ends of the yellow.
It may be possible with a dynamic Block [I'm not well-enough versed in them], but if so, a routine would be needed to figure out where to put them and their dynamic properties.
You would need to say more about the details, for example:
Is the spacing along the path object between red and blue always the same, or already in place with selected objects, or would the User be asked for that?
Likewise the position of the first red along the path -- always at the start as in your images, or already in place, or would the User be asked?
Would the spacing between reds [and between blues] always be the same, or would the User be asked for a spacing, or maybe for a number of iterations, with the routine calculating the spacing?
Might any of the answers to the above be a function of the path object itself, such as a percentage of its length?
Kent Cooper, AIA