I got it to work. What I did was make a new group. I called it
group3[count] = group2. So I copy each in the while loop. Then I
have another to move them all again counting through each count in the
group3. If you have a better suggestion let me know.
group3 = []
count = 1
z = 0
while (z < zdd)
y = 0
while (y < ydd)
x = 0
while (x < xdd)
group2 = group.copy
point = Geom::Point3d.new(x, y, z)
t = Geom::Transformation.new point
entities.transform_entities t, group2
group3[count] = group2
count = count + 1
x = x + stepx
end
y = y + stepy
end
z = z + stepz
end
group.erase!
UI.messagebox count
point = Geom::Point3d.new(pointx,pointy,pointz)
t = Geom::Transformation.new point
count = 1
while (count <= 126)
group3[count].transform! t
count = count+1
end