progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#1860 by Dong Weng
Sat Nov 10, 2012 5:58 am
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.

#1875 by caddit
Mon Nov 19, 2012 4:46 pm
Dear Dong Weng,


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))
)

#1876 by Dong Weng
Wed Nov 21, 2012 9:55 am
Thank you, I might have to halt this version upgrade as we have a lot short lisp programs aren't working in the new version, please let me know when the fixes are available.

Regards

Dong Weng

caddit wrote:Dear Dong Weng,


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))
)

#1970 by caddit
Tue Feb 12, 2013 2:33 pm
Dear Dong Weng,



We released a new version today on the CADDIT servers for progeCAD professional 13.0.10.6. This update includes several fixes, one of which addresses this area.

If you have progeCAD automatic updates enabled, you should already have the latest version installed. If not, you can also download the full installer, completely updated, at this link:

http://www.caddit.net/progecad/progecad.php


Please let us know if this update resolves the issue for you.