.lsp file will not run in AutoCad2020

.lsp file will not run in AutoCad2020

Anonymous
Not applicable
3,582 Views
12 Replies
Message 1 of 13

.lsp file will not run in AutoCad2020

Anonymous
Not applicable

Hi All,

So I have a .lsp file that I have been using in AutoCAD 2014 for a few years, and it has been working fine. I have upgraded my computer and my software to 2020 and now the .lsp will load, but will not run. It says error; quit/ abort.

 

Anyone know how I can try and make it work? The original script was written in 2004. 

Thanks

0 Likes
Accepted solutions (1)
3,583 Views
12 Replies
Replies (12)
Message 2 of 13

ennujozlagam
Mentor
Mentor

try to load from appload command and see if helps. thanks

 

LOADLSP.JPG





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes
Message 3 of 13

BeKirra
Advisor
Advisor

"It says error; quit/ abort."

"The original script was written in 2004. "

 

Assuming your LSP is in SFSP.

And apart from what  @ennujozlagam replied, one of the possibilities is some system variable(s) used in your LSP have been updated/revised by Autodesk.

Can you upload your LSP file?

 

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 4 of 13

Anonymous
Not applicable

Thanks very much for your suggestion. That is how I was trying to load it. That and in the 'User Interface'.

0 Likes
Message 5 of 13

Anonymous
Not applicable

Hi. Thanks for your response. I will upload the file below. Thanks

0 Likes
Message 6 of 13

ennujozlagam
Mentor
Mentor

i managed to load but need to check if it is woking? what are the lsp command you commonly used. thanks

LSP1.JPG





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes
Message 7 of 13

Anonymous
Not applicable

Hi, Thanks. Yes that is as far as I get. I then use CSNDGS command to run it, but that is where it comes unstuck. It should open a dialogue box.

Thanks

0 Likes
Message 8 of 13

ennujozlagam
Mentor
Mentor

you can try this, please see screencast video and see if helps. thanks

 

 

 

 

 





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes
Message 9 of 13

ennujozlagam
Mentor
Mentor

i tried again. sorry it's not working my apology. ignore my screencast video above. thanks

 

LSP22.JPG





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes
Message 10 of 13

BeKirra
Advisor
Advisor

I am afraid your dialog file "c_sndgs.dcl" is missing.

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 11 of 13

vinodkl
Mentor
Mentor
Accepted solution

Try linking the DCL file which seems to be missing with the lisp.

Check this: click here 

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
0 Likes
Message 12 of 13

Anonymous
Not applicable

Thankyou!!! I had to move both files into C:\Program Files\Autodesk\AutoCAD 2020\Support to make it work, it wouldn't work from anywhere else. Thanks very much! 

0 Likes
Message 13 of 13

scot-65
Advisor
Advisor
Please move your "custom files" away from the default AutoCAD directory.

Create a directory for your utilities and provide a support path (SFSP)
to the directory. Command OPTIONS --> Files tab --> Support File Search Path.
Also declare a Trusted Locations path to this same directory.

Now you are able to migrate/transfer/archive much easier...

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.