X & Y Differences

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I know this is a little rude, but I am rusty on autolisp. I dug out my old book, but it still might take me some time to do what I want.
I'm sure somebody could whip this out in no time, and it would be greatly appreciated:
I'd like to pick two points
have it print to the command line e.g.
the difference between the X's (rounded to the 2nd Place e.g. -0.02)
the difference between the Y's (rounded to the 2nd Place e.g. -0.02)
Then prompt for two texts and change the
content of the first text to the absolute value of the X difference e.g. 0.02
content of the second text to the absolute value of the Y difference e.g. 0.02
Pretty simple for someone who knows autolisp, heck I can't even remember the difference between CAR and CDR,
Thank you!