

To use the autoload feature, you have to KNOW what the lisp routines do CAB. The following causes AutoCAD to load the bonusapp.lsp file the first time the APP1, APP2, or APP3 commands are entered at the Command prompt: If you associate a command with filename and that command is not defined in the specified file, AutoCAD alerts you with an error message when you enter the command. If you omit the path from filename, AutoCAD looks for the file in the Support File Search Path. lsp file to be loaded when one of the commands defined by the cmdlist argument is entered at the Command prompt.

The first time a user enters a command specified in cmdlist, AutoCAD loads the application specified in filename, then continues the command.Ī string specifying the. Quote -Predefines command names to load an associated AutoLISP file I don't see why you would not use autoload? I guess you could add the start command for the routine as another variable but, I've never bothered with it because some of these routines have multiple commands in them. (SETQ L2L(GETSTRING"\nProgram to Load: ")) For those of you that load lisp routines all the time from the command line or you're tired of the Tools, Appload or whatever it is, here's a simple ditty I wrote about 13 years ago and I've used it ever since:
