Displaying coordinates on design drawings
Displaying coordinates on design drawings
(OP)
Can anyone tell me how other than using the dimordinate command (seperately for both the x and y refs), how I get the coordinates of a point to be displayed on the screen to be subsequently plotted in 2002LT?
I can't believe that I am the only engineer that needs to take off and display coordinates from design drawings?
Thanks
Jeff
I can't believe that I am the only engineer that needs to take off and display coordinates from design drawings?
Thanks
Jeff





RE: Displaying coordinates on design drawings
Below you will find an autolisp routine which adds a command named "XYZ" to your drawins session. The XYZ command prompts you to pick a point and creates a text containing the picked coordinate at the same location.
Keep in mind that:
1- Text height for the active text style must be set to 0.
2- Set the UCS origin to desired location to get desired coordinates.
3- press ENTER to finish the command.
(defun c:xyz(/ tid)
(setq tid t)
(while tid
(setq tid (getpoint "\n Pick a point:"))
(if (/= tid nil)
(command "text" tid "" ""
(strcat (rtos (car tid))
","
(rtos (cadr tid))
","
(rtos (caddr tid))
)
""
)
)
)
(princ)
)
I do not know you can use lisp routines in AutoCAD LT or not.
:)
Farzad
RE: Displaying coordinates on design drawings