Hi everyone.
What is wrong with this code? It won't work when "from" is entered in command line. Only "(from)" works.
(defun c:from () (setq p1 (getpoint "\nPick relative base point ")) (setvar "lastpoint" p1) (getpoint p1 "\nOffset ") )
Thanks.
Hi everyone.
What is wrong with this code? It won't work when "from" is entered in command line. Only "(from)" works.
(defun c:from () (setq p1 (getpoint "\nPick relative base point ")) (setvar "lastpoint" p1) (getpoint p1 "\nOffset ") )
Thanks.
I don't know what is wrong. I tried and it works fine.
****************************************************CAD Solutions:
I get just the opposite. Are you loading it first? How? What's it supposed to do? It's a lot of code just to return the value of the second point picked.
MichaelB
Do you use lisp in IntelliCAD or AutoCAD? It works fine in ACAD2K when I load it from Lisp editor.
No error. Must use apostrophe before command.
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.