×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Displaying coordinates on design drawings

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

RE: Displaying coordinates on design drawings

Dear JeffMorris,

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

Is it possible to use different text size somehow ? :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources