Tips & Tricks

Previous Next

Some tips around Lisp files


If developers would like to provide one installation for both AutoCAD and Bricscad, encrypted Lisp files should use standard *.des filename extension - this ensures, that AutoCAD will load the normal *.fas/*.vlx files, and Bricscad will load *.des files.


For this scenario, developers should always use the (load "name") function syntax, excluding the filename extension - Bricscad uses the following searching order :


1. <filename>.des

2. <filename>.lsp

3. <filename>.prt        (for protected lisp files, generated by Protect.exe)

4. <filename>.klv        (Kelvinated lisp files)


This searching order ensures that encrypted Lisp files *.des are primarily used under Bricscad (if present) - thus, preventing conflicts with existing fas/vlx files (if also present). With this design we hope to offer most compatible Lisp loading technology together with smallest impact to Lisp developers.