@Ryan207 wrote:
.... Can this be updated to work with polylines?
That's very specific to use with a Line entity only [and, if I may say so, uses a pretty frighteningly complicated way of finding its start and end points]. It could be modified to work with Polylines, but since it uses a linear Array, just changing the way of finding endpoints would only work with one-line-segment Polylines, so an entirely different kind of modification would be needed for multi-segment Polylines that change direction or include arc segments.
I would suggest you simply Insert a Block [or just draw an Ellipse, since that's what their Block simulates] at the end of whatever kind of path object you want, size it as you like, and use ARRAYPATH. Then you wouldn't need yet another version of the routine if you want to do it on an Arc, or Circle, or Ellipse, or Spline, or....
If you don't want the single-entity result of ARRAYPATH [which has big advantages, in adjusting itself if you change the path, editability of spacing, etc.], use DIVIDE or MEASURE with the Block option to get independent stones along the path.
Kent Cooper, AIA