I'm running Progecad 2013 trial version to test run some lisp, the method to recall the last point was "@" in the 2010 version, in the new trial version it always pick up the original point (0,0,0), please help.
Thank you for your interest in LISP programming.
We were able to directly verify the reported issue and forwarded it to the development team for further analysis, in a way to focus an available solution.
As a work around, we could suggest you to define a function, and to recall it, in place of @.
Please look at the attached movie.
The function to define (at) is the following:
Code: Select all
(defun at ( x y z / lastpt oldx oldy oldz)
(setq lastpt (getvar "LASTPOINT"))
(setq oldx (car lastpt))
(setq oldy (cadr lastpt))
(setq oldz (caddr lastpt))
(list (+ oldx x) (+ oldy y) (+ oldz z))
)