I have a huge collection of lines in Rhino forming a network. I would like to update their start and end points based on a list of new coordinates for their start and end points. So far I am deleting all line objects and creating new ones with the new coordinates given. All other attributes such as object name and colour should remain the same. However this is rather slow. How can I avoid creating new line objects but only updating their start and end points.
I am using RhinoCommon and python.