Hey everyone,
Have a quick question.
I'm making a lisp and need to know how to get a distance (a number value) from user picked points. Take a look at the example;
(setq p1 (getpoint "\nPick Point 1:"))
(setq p2 (getpoint "\nPick Point 2:"))
Now here I want to use the two points to get a length and set it to a Length;
(setq L (what goes here))
What would I put in there for it to be a real positive number? Or would there be a better way of writing this?
Thanks for all your help,
Xolo
Have a quick question.
I'm making a lisp and need to know how to get a distance (a number value) from user picked points. Take a look at the example;
(setq p1 (getpoint "\nPick Point 1:"))
(setq p2 (getpoint "\nPick Point 2:"))
Now here I want to use the two points to get a length and set it to a Length;
(setq L (what goes here))
What would I put in there for it to be a real positive number? Or would there be a better way of writing this?
Thanks for all your help,
Xolo