I am a newbie to autocad code. I can do the simple stuff but I cannot figure out how to get the distance from one center point to another center point. And from that display it with a leader format. Like I said I know the simple stuff does anybody know of a glossary of code functions that are out there?
I am attaching a sample of code that i tried. I want the distance from A to a circle and also B to a circle and give the distance on a leader.
My code goes
(setq a (getpoint "\nEnter First Point : "))
(setq b (getpoint "\nEnter Second Point : "))
(setq F1 (getpoint "\Enter Post location : "))
(setq di1 (command "distance" a f1 "")
(setq di2 (command "distance" b f1 "")
I am obviously going wrong with the distance commands or I do not know how to display it. any help can you describe how you used that command so I know I really want to learn it!
I am also giving a drawing so you can see what I did by using leaders and lots of distance commands
