The brick pattern with frame is first constructed.

after that the center point of the brick wall are generated as point 1
The point 2 are 350 mm above of each robot.

Like that i create other 2 more point for the brick source and the middle point.
I need each different poly line for each path through points. but i couldn’t do it. when i make the poly line it connect its each points making unneeded poly line.
But i can create a required sets of line from one point to another. then i have 2 segment of poly line.
If i cannot make a singe poly line i will join the line each of them physically and make a robot path. then i will have to create a rapid code for those path.

as in the above figure, i want to create a poly line by connecting point 1, 2, 3, 4. but the line should connect according to the row.
File link