AutoCAD - How to display coordinates of my object

AutoCAD - How to display coordinates of my object

arshad75shahK26UX
Observer Observer
8,879 Views
9 Replies
Message 1 of 10

AutoCAD - How to display coordinates of my object

arshad75shahK26UX
Observer
Observer

I need help! I hope you can help me. I draw a polyline object and I want to show all the coordinates (x,y) of my polyline object when I just click on the polyline object.
Is it possible?

 

[ The subject line of this post has been edited for clarity by @handjonathan Original: How to display coordinates of my object ]

0 Likes
Accepted solutions (1)
8,880 Views
9 Replies
Replies (9)
Message 2 of 10

cadffm
Consultant
Consultant

Hi,

you can see onle one information about the Vertex, but you can walk thru all of them.

CTRL+1 PropertiesPalette -> select Vertex, there are tiny arrows to jump forward/backward.

 

All together? Command LIST, see the result in Textscreen: [F2]

 

 

Sebastian

0 Likes
Message 3 of 10

AVCPlugins
Advisor
Advisor
Accepted solution

Open the properties panel (Ctrl+1).

Click on the field Current Vertex - below you will see the coordinates of the first vertex.

Click on the arrow to change the number of the vertex - you will see the coordinates of the remaining vertices.

AVCPlugins_0-1669091915581.png

 


Plugins for AutoCAD
A>V>C>
AppStore | Facebook | Twitter | YouTube | Blog
0 Likes
Message 4 of 10

arshad75shahK26UX
Observer
Observer

I think I could not make my point clear to you.

I want all the coordinates to appear on my AutoCAD screen with just one click of the polyline because I don't want to type.

I hope I have explained my point to you properly.

 

arshad75shahK26UX_0-1669093046120.png

 

0 Likes
Message 5 of 10

ChicagoLooper
Mentor
Mentor

Hello @arshad75shahK26UX 

<<….I want to show all the coordinates (x,y) of my polyline object…..>>


There is no magic button you can click to display ‘all coordinates’ of your polyline. The best you can do is display the coordinates of your mouse as you move it from vertex-to-vertex. When your mouse ‘locks on’ to a vertex, the grip will change from blue to red.

To display your mouse coordinates do this:

  1. Click the Customize toolbar button then check coordinates at the top of the menu. F2A9E408-22FB-40E4-A775-A437F5FCAB35.jpeg
  2. The statubar will display the coordinates of you cursor. 457EBD13-C5DA-49C6-9DA5-CCEB60B75427.jpeg

Chicagolooper

EESignature

0 Likes
Message 6 of 10

ChicagoLooper
Mentor
Mentor

Duplicate post. 

Chicagolooper

EESignature

0 Likes
Message 7 of 10

Pointdump
Consultant
Consultant

Hi Arshad,
Welcome to the Autodesk Forums.
You can create a block with X,Y attributes to label each vertice, like >>>Here<<< and >>>Here<<<.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes
Message 8 of 10

ВeekeeCZ
Consultant
Consultant

If you don't what to do repetitive tasks that could be automated, you can learn a lit bo LISP... so you can do THIS.

 

(vl-load-com)

(defun c:PlineXYLabels ( / v p j o)

  (princ "\nSelect polyline, ")

  (if (and (setq v (ssget "_+.:E:S" '((0 . "LWPOLYLINE"))))
	   (setq v (vl-remove-if '(lambda (x) (/= (car x) 10)) (entget (ssname v 0))))
	   (setq p (getpoint "\nSpecify baseline point for X labels: "))
	   (setq h (getvar 'textsize))
	   (setq o (* h 6))
	   )
    (foreach e v
      (entmake (list '(0 . "TEXT") (cons 40 h) (cons 50 (/ pi 2))
		     (list 10 (cadr e) (cadr p)) (list 11 (cadr e) (cadr p))
		     (cons 1 (rtos (cadr e)))))
      (entmake (list '(0 . "TEXT") (cons 40 h) (cons 50 (/ pi 2))
		     (list 10 (cadr e) (+ o (cadr p))) (list 11 (cadr e) (+ o (cadr p)))
		     (cons 1 (rtos (caddr e)))))))
  (princ)
  )

http://www.lee-mac.com/runlisp.html

Message 9 of 10

arshadmirza786
Collaborator
Collaborator

The shown are not coordinates it is (X,Y Values) may be and can be written with this LISP at a distance as u like 

0 Likes
Message 10 of 10

Kent1Cooper
Consultant
Consultant

@arshadmirza786 wrote:

The shown are not coordinates it is (X,Y Values) .... 


I don't understand -- what can coordinates be if they are not X,Y values?  Can you describe what you mean in more detail?

Kent Cooper, AIA
0 Likes