Edo89
Guest
Hello everyone,
I just started using autolisp and came across this problem (which I am sure will be banal for many):
I have a p1 point, I extracted the x coordinate with the command (car p1); now I want to generate a p2 point that has as coordinate x the same of p1 and the coordinate y different. if I write for example:
(setq p1(10 50))
(setq x (car p1))
(setq p2'(x 20))
I really can't use p2 as a point to generate a line... what do I have to do?
I just started using autolisp and came across this problem (which I am sure will be banal for many):
I have a p1 point, I extracted the x coordinate with the command (car p1); now I want to generate a p2 point that has as coordinate x the same of p1 and the coordinate y different. if I write for example:
(setq p1(10 50))
(setq x (car p1))
(setq p2'(x 20))
I really can't use p2 as a point to generate a line... what do I have to do?