Auto Generating Lines between imported points using AutoLISP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been trying to automatically generate lines between points using AutoLISP but my lack of experience is putting a stop to that.
My company manually places lines between imported points shown below
Turn into
I'm trying to automate this process through lisps. Create line between point 50079 and 50080, create line between 50080 and 50081 and so on. While also preserving x,y,z coordinates. And then conclude once there are no more points to iterate through.
Perhaps get autoLisp to see this information. No idea how to get it to though.
Eventually I would probably even have it choose a layer of the line based on the layers of the points, and if two layers from the start point and end point do not match, choose layer 0. But that may be something to look into later.
I'm wondering if this is at all possible. Thank you!