I am trying to automate a process in which I import a text file as a point cloud and then use the spline tool to connect the necessary points created from the point cloud. I already have a macro function that imports the text file in a 3D sketch (see image below), but I am not sure how I could automate the connecting part. I'm not sure if it's even possible, but I was thinking about having a macro draw a spline and go from one point to the next closest point.
I have manually created most splines in the image below. I am looking to automatically create those splines rather than go in and manually click each point.
Does anyone have any ideas/solutions?