Automating calculating slope and drawing its values

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Let's say I have 2 points of known value (eg. one is 120.00 and the other 121.00). I want to draw the line between these two points, input value of these two points with length of the line between them so that AutoCAD can calculate the slope. By now I am doing this manually, using windows calc but it's really annoying to alt+tab (to switch windows) all the time between CAD and calculator. Is there any way to do this using AutoCAD only?
Now the second part: after that I would like the AutoCAD to divide the line into equal sections of length=1 unit and put calculated values (based on slope) next to them. I am not sure if that's even possible to automate this. I attach a screen of the final result I need to get. These calculated values don't have to be put like that but they have to be visible (I will delete them anyway).
Thanks in advance for any kind of help 😄