Okay, I'm new to associative arrays, so I'm desperate for help. I'm attaching a drawing so you can see what I'm trying to accomplish with this. I'm doing an elevation view of a slab that has a cross section of the rebar. I've shown one of the bars spanning from left to right, represented by a rectangle, and the cross section of the bars running front to back represented by circles. Hopefully, you can see what I'm trying to show here. In the drawing I've attached, the top three sketches are examples of how this would look if it were working correctly.
What I'm trying to do is create an array (of circles) that will stretch to the length of the bar spanning left to right. I want the quantity of items in the array to automatically change based on the length of the bar and the spacing of items, so if there is 6" of spacing between the items instead of 12" it will automatically add twice the amount of items to fill in that space. I've been trying to use a path array, and it isn't working the way I want. I'm not familiar with rectangular arrays, so not sure what to do there either. If you know of any way to accomplish this please let me know. Also, if you don't understand what I'm asking I'll be happy to explain further.