What happens to a very basic AutoCAD user input feature we all take it granted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was shocked when I encountered an issue recently.
All AutoCAD users know a very basic AutoCAD input feature: when you draw a line with command "LINE", after you pick or enter the start point at command line, you can either pick next point as end point, or you can enter a point at command line, either entering x,y (or x,y,z), OR entering a relative point with [length]<[Angle], such as 100<0, 100<45...
As programmer, I do not do CAD work, so have not been entering point at command line like that for very long time (always picking when testing my CAD apps), until a few days ago in a development project where I was asked to specifically pay attention for the points entered by user at command line. Then the unbelievable issue shocked me: the relative point input method (e.g. [Length]<[Angle]) no longer work with the AutoCAD in my computer.
At beginning, I thought something was wrong with my computer/AutoCAD. But I have 3 computers with AutoCAD2020 to 2023 (4 versions) installed. So, I tried in different computers: the thing we all take granted only works with AutoCAD 2023 (which I just installed a few days ago), and it DOES NOT WORK with all other versions (2020 to 2022) in all my computers.
As someone who has been working with AutoCAD over 30 years, one can imagine how shocked I am: either the feature is gone/broken in AutoCAD, or I am totally out-of-date about AutoCAD and is doing something wrong.
So, I'd like hear from people here who read this to do a simple test with your AutoCAD:
1. start command "LINE";
2. select start point;
3. enter next point at COMMANDLINE as relative point, say, 100<0, or 100<90...
See whether AutoCAD draws the line as expected.
I have already verified this with a couple of people I know and were confirmed what I saw (e.g. only Acad2023 works as expected). I do not have Acad older than 2020 available.
As .NET API programmer, I post this here is because this issue affect the method Editor.GetPoint()! When using this method, if you want to allow user to enter point at command line as relative point, you must use PromptPointOption and make its property "UserBasePont" to true and supply a Point3D to its "BasePoint" property. Again, as my discovery, this would not work as expected with Acad prior to Acad 2023.
I am still in disbelieve in spite of what I saw! Really hope someone posts back to prove I am wrong.