Thank you for you quick reply, but I still don´t understand how to set an integer value to specify the amount of points from the input lists being added to the A list? Hope you understand my question.
Example here if not, the final list should contain. x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14, y15, y16, y17, y18, y19, y20, z1, z2, z3, z4, z5, z6, z7, z8, z9, z10, z11, z12, z13, z14, z15, z16, z17, z18, z19, z20 Cheers Christian On 20 Jan., 19:53, Splash <[email protected]> wrote: > Raun - > > The trick is to use a List object for the output. > > Here is code that might help: > > Sub RunScript(ByVal x As Object, ByVal y As Object ByVal z As > Object) > Dim Sorted As New List(Of Object) > Sorted.Add(x) > Sorted.Add(y) > Sorted.Add(z) > A = Sorted > End Sub > > On Jan 20, 9:39 am, Raun <[email protected]> wrote: > > > Hi, > > > I am in trouble with some vb.net script to sort three lists into one. > > The issues is that I would like to sort the lists so that I get the > > first 20 3dpoints from the x list, the first 20 3dpoints from the y > > list and the first 20 3dpoints from the z list. Then i should be > > repeated with the the next 20 of each list. > > Could anyone refer my to example that has dealt with a similar issue > > so that I can see how to get around it and learn a little more about > > scripting. > > > Cheers > > > Christian
