Upload or delete cript file from autocad

Upload or delete cript file from autocad

pcwortex
Advocate Advocate
419 Views
2 Replies
Message 1 of 3

Upload or delete cript file from autocad

pcwortex
Advocate
Advocate

Hi,

Could you give me advice on how to delete or unload the 'sujungti.lsp' script from AutoCAD? I have attached a picture. Now it is gray

 

picture.jpg

0 Likes
420 Views
2 Replies
Replies (2)
Message 2 of 3

Kent1Cooper
Consultant
Consultant

[An AutoLisp file is not a script.  That word has a related but different meaning in AutoCAD.]

 

"Unload" and "delete" are very different things.

If you really mean "delete," you can go to the folder in a file explorer and delete the file, or within AutoCAD an AutoLisp function could do it.

If you mean "unload" from the current drawing, such as to eliminate things like commands defined in the file, that is not an option for AutoLisp routines.  See Help for the >APPLOAD dialog box<, under Unload/Remove: "LISP applications cannot be unloaded."  But you could remove it from the Startup Suite in APPLOAD, or from being (load)ed or (autoload)ed by an acaddoc.lsp file, or from whatever else is loading it, so that it will not be loaded in other drawings subsequently, nor in the current drawing the next time it is opened.

Kent Cooper, AIA
Message 3 of 3

pendean
Community Legend
Community Legend

@Kent1Cooper wrote:

[An AutoLisp file is not a script.  That word has a related but different meaning in AutoCAD.]

 

"Unload" and "delete" are very different things.

If you really mean "delete," you can go to the folder in a file explorer and delete the file, or within AutoCAD an AutoLisp function could do it.

If you mean "unload" from the current drawing, such as to eliminate things like commands defined in the file, that is not an option for AutoLisp routines.  See Help for the >APPLOAD dialog box<, under Unload/Remove: "LISP applications cannot be unloaded."  But you could remove it from the Startup Suite in APPLOAD, or from being (load)ed or (autoload)ed by an acaddoc.lsp file, or from whatever else is loading it, so that it will not be loaded in other drawings subsequently, nor in the current drawing the next time it is opened.


.... @pcwortex you might also want to restart your AutoCAD session after you do any or all of those edits too.

0 Likes