• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

use di getpoint

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
I wrote a message similar to this, but I can't find it anymore, so I repeat.
I have written this simple code;
Code:
(defun c: org (/ pt1 pt2)

(setq pt1 nil)
(while
(= pt1 nil)
(by "npunto base <")
(pin)
(by ">:")
(setq pt1 (getpoint))
)

(if pt1 (setq point pt1))

(setq pt2 nil)
(while
(= pt2 nil)
(prc "\ nsecondo punto <")
(POINT POINT2)
(by ">:")
(setq pt2 (getpoint))
)

(if pt2 (setq point2 pt2))

(pr "n")
(pin)
(pr "n")
(POINT POINT2)
(pr "n")

(setq organg (angle point point2))
(setq origine t)

(pr "n")
(prince organg)
(pr "n")

(alert "orientamento per il tracciamento polar imposto")
)
As you can see, it is used to set a reference vector, I receive an error in line :
Code:
(setq organg (le pint pot2)
I continue to retrace the code but I can't find the reason for the error.
Thank you.
 
thanks gp,
I make a lot of calculations then I lose myself in a glass of water!
Thanks again.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top