LISP Error

LISP Error

Cudal
Contributor Contributor
514 Views
6 Replies
Message 1 of 7

LISP Error

Cudal
Contributor
Contributor

Hi,

I have AutoCAD LT. I use to use this lisp "https://www.lee-mac.com/ptmanager.html", however when I change laptop, I am now getting error. anyone have solution for the error. Thanks

 

Cudal_1-1738087355863.png

 

 

0 Likes
Accepted solutions (1)
515 Views
6 Replies
Replies (6)
Message 2 of 7

paullimapa
Mentor
Mentor
Accepted solution

I believe this app is designed to reference AutoCAD support files named for AutoCAD and not AutoCAD LT. A similar thread on this error can be found here when running using Briscad:

https://forum.bricsys.com/discussion/24691/ptmanager-lisp-dcl

Perhaps you may try contacting the author on this app with the correct link here:

https://lee-mac.com/ptmanager.html


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 7

Cudal
Contributor
Contributor

Thank you Paul. I was able to solve it after reading the link you provided. I check the code and it is looking for ACAD.PAT since I am using AutoCAD LT I don't have ACAD.PAT but ACADLT.PAT. so I just copy the file and rename to ACAD.PAT and now the lisp is working. Thanks

 

Cudal_0-1738094520226.png

 

0 Likes
Message 4 of 7

paullimapa
Mentor
Mentor

Glad that worked out for you. Or you may want to try changing the code to now look for “acadlt.pat”


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 5 of 7

pendean
Community Legend
Community Legend

@Cudal wrote:

....so I just copy the file and rename to ACAD.PAT and now the lisp is working. Thanks


Would it not have just been easier to edit the LISP code for ACADLT.PAT or did that not work?

Message 6 of 7

paullimapa
Mentor
Mentor

Like minds think alike


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 7

Sea-Haven
Mentor
Mentor

I use Acad & Bricscad so to write one version can do a simple check which cad program are you running so use an if to set the correct pat file. A earlier version of Bricscad has no "REVERSE" but can used pedit "Reverse"

 

Use (vlax-product-key) can look for which CAD is being used.

 

 

0 Likes