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.
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.
You can't do this with out-of-the-box AcadE functionality. Everything can be done by some programming of course.
You can't do this with out-of-the-box AcadE functionality. Everything can be done by some programming of course.
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
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
Can't find what you're looking for? Ask the community or share your knowledge.