Nth points from point list


Would you please advise how to extract every n-th element from point list. Say, I have list of points that has items from 1 to 700. Now I want to extract every 10th element and create list of points that are items from this list [0, 9, 19, 29 …] within the 700 items.

You could use list slicing, something like myPoints[::10] should do it, if I recall the syntax.

1 Like