Help Center

ncad.lsp

The ncad.lsp file

The root nanoCAD folder contains important ncad.lsp file that is being automatically loaded on nanoCAD session start. The ncad.lsp is a text file that should have a correct LISP application structure. It can include function definitions, command definitions (they are to be created as functions with the C: prefix) as well as executable LISP expressions and comments.

After loading ncad.lsp a message in command line is generated. It displays names of the commands defined inside the file, e.g.:

nCad.lsp loaded. Commands: RESETVAR, DWGCLEAR

It is possible to include executable expressions in ncad.lsp file to load additional applications, set values for LISP variables and etc.:

(setq @@PATH "D:\\MyPlugins\\")

;Loading applications

(load (strcat @@PATH "lspplugin.lsp"))

(arxload (strcat @@PATH "nrxplugin.nrx"))

(appload (strcat @@PATH "nsfplugin.nsf"))

 

Info: NanoCAD is a user friendly, low cost, and yet powerful, CAD freeware tool for personal computer, that allows an outstanding user experience by providing top-level performance, full capability, a classic interface and native.dwg format support. nanoCAD has been built to deliver design and project documentation for all engineering purposes. nanoCAD includes a full suite of basic and advanced CAD tools for 2D/3D design and creating industry-standard DWG-compatible CAD files. Our tool ensures innovative, collaborative and customizable features to boost your efficiency, and includes a number of API's, allowing anything from routine task automation to complex CAD application development. You may download nanoCad for free, using the links below, and purchase later, if you like it.
We collect Cookies
We use cookies to ensure that we give you the best experience on our website. By clicking “Accept”, you agree to our website’s cookie use as described in our Privacy Statement.