I have multiple lsp files that I have loaded using appload. I click the option to add them to the startup suite and history, and they are in the startup suite and show in my history. However, when I open a drawing, they do not automatically load. Every time I open a drawing, I have to go back to appload and load the lsp files again. Why are they not loading each time I open a drawing? Thanks for your input.
Solved! Go to Solution.
I have multiple lsp files that I have loaded using appload. I click the option to add them to the startup suite and history, and they are in the startup suite and show in my history. However, when I open a drawing, they do not automatically load. Every time I open a drawing, I have to go back to appload and load the lsp files again. Why are they not loading each time I open a drawing? Thanks for your input.
Solved! Go to Solution.
Hi @Anonymous,
I see that you are visiting as a new member to the AutoCAD forum. Welcome to the Autodesk Community!
I assume that when you load them manually, that the LISP routines work properly. Do you get a security warning when you do?
Please check your Trusted Locations in OPTIONS to make sure that the location of the LISP files is there.
Please select the Accept as Solution button if my post solves your issue or answers your question.
Hi @Anonymous,
I see that you are visiting as a new member to the AutoCAD forum. Welcome to the Autodesk Community!
I assume that when you load them manually, that the LISP routines work properly. Do you get a security warning when you do?
Please check your Trusted Locations in OPTIONS to make sure that the location of the LISP files is there.
Please select the Accept as Solution button if my post solves your issue or answers your question.
I have all the locations as trusted. And yes, when I load manually they all work. I do not get any error messages.
I have all the locations as trusted. And yes, when I load manually they all work. I do not get any error messages.
Hi @Anonymous,
Try adding them in the CUI instead then as @pendean has suggested. Please let me know the results.
Hi @Anonymous,
Try adding them in the CUI instead then as @pendean has suggested. Please let me know the results.
Yes...they show up there too already...and I have the path as trusted.
Yes...they show up there too already...and I have the path as trusted.
Add only one lisp woth the content:
(Princ "That works!")
And try it again.
Is it working?
Ok.
Solution:
Create a s::startup function to load your stuff when acad is ready with loading a drawing file.
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/autorun-custom-command/td-p/8100740
Sebastian
Add only one lisp woth the content:
(Princ "That works!")
And try it again.
Is it working?
Ok.
Solution:
Create a s::startup function to load your stuff when acad is ready with loading a drawing file.
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/autorun-custom-command/td-p/8100740
Sebastian
Got it resolved. I think I had some conflicting paths and the lsp files were overwriting each other. Thank you for everyone's help!!
Got it resolved. I think I had some conflicting paths and the lsp files were overwriting each other. Thank you for everyone's help!!
Can't find what you're looking for? Ask the community or share your knowledge.