Finding closest snapping point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to find the closest snapping point according to the enabled Snap mode?
I have the following task:
I have a point cloud in the drawing and 3d polyline, which outlines some object in the point cloud.
I need to adjust the height of polyline vertexes to height of points in the point cloud. I can crop the point cloud to only interested object.
In theory, I could take a vertex and find the nearest point from the cloud to get it's height, but I can't access the points from the point cloud with LISP (it is possible only with ObjectARX, which I am not good in).
Another approach is to enable "point cloud 3D snapping" and move vertex into the direction of the point cloud. As soon as snapping point appears - stop moving the vertex. I can do that manually. But I don't know if it is possible to simulate that kind of movement and implement that in LISP.