Yes, Lisp can be executed in two different ways.
1) Lisp can be placed "inline" in the script as in:
(SETQ en (ENTLAST))
2) Or they can be loaded and executed from within the script:
Where "lispfile.lsp" is your lisp routine. (of course your lisp must be located in one of the AutoCAD path directories, like "/SUPPORT/")
Of course, if you are calling a lisp that requires responses to it's prompts, then you would include those as well, as if it were a normal AutoCAD command.
You can also use the Hurricane"Editor" and click the "Load Lisp" button which will present your with a dialog to select the lisp file of your choice.
|Previous||Back to Hurricane for AutoCAD - FAQ||Next|