Search the Community
Showing results for tags 'autoload'.
Found 4 results
Hello, I have a question for all those lisp masters out there. The company that I work for has had me learning and creating lisp for them for a couple months now and we are starting to get a library of lisp built up. Currently I have all of the lisp being loaded at startup through the appload command. I have decided to use Lee Mac's Autoloader when necessary, but I was wondering at how many lisp would it be wise to do that for instead of at startup? Right now the PCs in the office are not filling slow (They are what I would consider to be in the middle of the road in power.).
I have created a .cuix file that I would like to apply to AutoCAD2015 for each user on the network, so that I do not have to log in under each name and manually transfer in the CUI one at a time. So far I have tried multiple methods for loading the custom .cuix file into AutoCAD on launch, however I am unable to get the workspace to transfer in at all. I have created an acaddoc.lsp file, saved into a support file path, that calls another .lsp file to load in the cuix, based on code I have seen on this forum: (command "cuiunload" "FILENAME" ^C "cuiload" "X:\XX\XXX\FILENAME.cuix" ^C) However my new workspace is never added into the program after successfully calling the LSP when CAD launches. I have also messed around with ARG files and using a switch to call on a script upon launching CAD, although I so far have not had any luck. I am a novice at writing scripts for AutoCAD and navigating the program's folders, so please let me know if I need to provide any more detailed information. I appreciate any help that someone has to offer. Thanks.
Had some fun with a recent sub, resulted in these two programs Autoloader This program will generate autoload expressions for all LISP files in a selected directory, proceeding to write such expressions to a text file output (from which the user may copy the contents to an ACADDOC.lsp or destination of their choice). GetSyntax A fun one - sparked from this thread, involving a question regarding how to determine the command to use to call a program when there is no indication in the code header and no loading messages indicating such information. This program will read a selected LISP file and print a report detailing the command syntax for all defined commands in the selected file. Both programs use my GetSyntax sub, which reads a supplied LISP file and returns a list of defined commands within the supplied file. Enjoy! Lee
I finally got around to writing this tutorial which hopefully encompasses everything a user might need to know on the topic of loading programs on startup. Loading Programs Automatically As always, your feedback is very welcome should you have any suggestions for improvement, criticism, or indeed discover mistakes in the content. Enjoy! Lee