Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Display X-Y Grid Coordinates - AutoCAD Electrical 2022

3 REPLIES 3
Reply
Message 1 of 4
mrshayboo
376 Views, 3 Replies

Display X-Y Grid Coordinates - AutoCAD Electrical 2022

I was wondering if there was a way to display the X-Y Coordinates of my cursor or a certain component, as it is difficult to locate a component or an area on the drawing otherwise.

 

In terms of the picture, could you display the coordinates 2-C somewhere as it is a self-made boundary so not sure if AutoCAD could pick this up.

 

Would save me scrolling to each edge to see where I am on a drawing.

3 REPLIES 3
Message 2 of 4
rhesusminus
in reply to: mrshayboo

You can't do this with out-of-the-box AcadE functionality. Everything can be done by some programming of course.

 

 


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 3 of 4
mrshayboo
in reply to: rhesusminus

HI, Thanks for the reply, could you point me in the right direction on where I can look to lesrn the programming required for such functions.
Message 4 of 4
rhesusminus
in reply to: mrshayboo

Learn C#: https://www.linkedin.com/learning/search?keywords=c%23

Learn the AutoCAD API: http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html

 

Psuedocode:

- On open/activate new drawing get the WD_M block
- Read the values of the attributes XY_DELIM, SHEET, HORIZ_FIRST, CHAR_V, CHAR_H, DISTV, DISTH, DATUMX, DATUMH
- Start loop
- Get the current cursor position
- Calculate the position of the cursor within the sheet using the fetches coordinates
- Put the calculated value somewhere (Tooltip on cursor?)
- Goto start loop

 

 


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report