Array linear between seclected two points. File name : ARD.LSP
When you use Array command of AutoCAD, you must enter x number, y number, x distance, y distance. It's kinda uncomfortable. You need to enter just range and distance between rebars. This program array only vertical or horizontal. If you want to array inclined, use ARSLOP.LSP
Example Select objects: {p1} 1 found [Select entity to be arrayed] Select objects: [Finish selecting] Pick start point: _cen of {p2} [Pick start point] Pick end point: {p3} [Pick end point] Program recognize x distance and y distance. and determine x or y direction as a final array direction Distance = 4575.84 [Program shows user distance Array distance: 600 [Enter array distance ] Remainder = 375.836 [Program shows remained distance after array]