How to load a lisp file into AcCoreConsole (AutoCAD Customization)

A commenter had some trouble loading the files. So perhaps the AcCoreConsole is confusing people. So here is a post which will hopefully clarify how to do it.

It’s quite simple:

  • Have the LISP file ready.

  • Load the lisp file

  • Call the command.

It works exactly the same as in AutoCAD - the UI version. But remember you cannot call any commands which make use of Windows forms or WPF. It is strictly command line only. So things like APPLOAD are not going to be very effective in the AcCoreConsole.

1. Have the Lisp File Ready

Here is an example that you can download.

The same is pasted below if you feel uncomfortable in downloading it:

I modified it from a file kindly posted by someone in the AutoCad forum. Remember to save it with a .lsp extension!

2. Then Load the Lisp File

Type in the following in AcCoreConsole:

Of course - you will substitute the path to the file as it appears in your computer.

3. Then Call the function:

4. The Result

_config.yml

Lisp Function output. Shows the output of a lisp command executed in AcCoreConsole.

Written on October 8, 2017