I can’t get data without breaking the listing.
I will be happy if you help.
if you want to keep the input list structure then you need to so something similar to what i have done in the following image. Make note to the temporary and main list creations.
You need to instantiate a list below the main loop to temporarily store/fill in a sublist, then append that sublist to your dpoints list at the end of the main loop. like this maybe:
for rpoint in rpoints: sublist =  for rp in rpoint: sublist.append(rp.ToPoint()) dpoints.append(sublist)
hey, since you already know the API to translate it into point, why not just do it in the original python script and return two sets of output? one in XYZ and one in Point