Search the Community
Showing results for tags 'distance between 2 points'.
-
Hi everyone, Attached lisp is writen by Alan Thompson and then modifed by another developer. This lisp calculates the distance between two points along an object (line, circle, arc, polyline, spline, etc.) and writes the distance on second point. But it takes too much time while using th...
-
Longest/Closest Distance Between Two Objects
toxicsquall posted a topic in AutoLISP, Visual LISP & DCL
Hello, I have this Lisp MD (Closest Distance Between Two Objects).lsp that can show me what is the shortest distance between two objects. If you type MD it shows the distance value and if you type MDL, it draws a line between them on the closest point distance. It can be useful for you if you need....- 3 replies
-
- distance between 2 points
- distance
- (and 2 more)
-
Repeating function for the mid between 2 points and writing their distance
tsotzo posted a topic in AutoLISP, Visual LISP & DCL
Hello, I made the following: (defun c:MC () (setq au* (getvar "aunits")) (setq osm* (getvar "osmode")) (setvar "aunits" 3) (setvar "osmode" 0) (setq pt1 (getpoint)) (setq pt2 (getpoint pt1)) (defun MdatDst () (setq dsC (/ (distance pt1 pt2) 2)) (setq angC (+ (angle pt1 pt2) (/ pi 2))) (setq...