How to keep the point order

Hi,there,I want to use a serial of points to create a curve by “CreateInterpolatedCurve”; command .If I draw point by point ,the curve is OK ,but if I move some points of them , the curve can’t not be created properly , when I checked the point’s attribute , I found that the orders of the points that I moved are changed(in the end of the point’s ID, is the order number?).how can I keep the original orders of the points?

Hi @hearts_j,

You should maintain a structure that contains the index and the ID of the point. When the point is modified, find the ID in your structure and update the location accordingly.

– Dale

Hi Dale,

OK,It makes sense,I’ll try it .

THX for you reply.