here’s a python solution:
ArrayBetween.py (605 Bytes)
import rhinoscriptsyntax as rs
def array_between():
obj = rs.GetObject('Select object to array', 0, True)
if not obj: return
rs.SelectObject(obj)
amount = rs.GetInteger('How many objects in array')
if not amount: return
point1 = rs.GetPoint('Pick start point')
if not point1: return
point2 = rs.GetPoint('Pick end point')
if not point2: return
vector = rs.VectorCreate(point2, point1)
copyvec = rs.VectorDivide(vector, amount - 1)
for i in range(1, amount):
copy = rs.CopyObject(obj, copyvec * i)
rs.UnselectObject(obj)
array_between()
from this thread: