Make_list doesnt work

I’m trying to make a list of array values for points. I’m following the sample code given in the script manual for polyscope 5.19 but I keep getting an error when trying to run the script. Why would make_list not work. My exact code is as follows.

test = make_list(25, [0,0,0,0,0,0])

Currently list of lists is not supported as this is how matrices are implemented in URScript.
Workaround for this particular case (list of 6 numbers) could be to create list of poses.

test = make_list(25, p[0,0,0,0,0,0])

Poses mostly share syntax with lists. So accessing single element is possible like this:

v = test[10][5]

Another workaround would be to make list of structs that contain list. Then use index to access member within struct.

test = make_list(25, struct(list = [0, 0, 0, 0, 0, 0]))
v = test[10][0][5]
# or by member name
v = test[10].list[5]

This syntax allows for arbitrary length lists. Moreover each list can have different length, and capacity.

Thank you, using a list of poses has been working well.