acaddoc.lsp Creator

See also Custom Commands.

Function Syntax acaddoc
Current Version 1.2
Download acaddocCreatorV1-2.lsp
View HTML Version acaddocCreatorV1-2.html
Compatible with AutoCAD for Mac? No
Compatible with AutoCAD LT? No
Donate

Program Description

I designed this program to assist the user in the automatic construction of an acaddoc.lsp file to load, on drawing startup, a selection of programs (.lsp/.vlx/.fas).

The program facilitates the automatic generation of (autoload) or (load) expressions written to a new or existing acaddoc.lsp for a selection of program files.

On issuing the command syntax acaddoc at the AutoCAD command line, the program will prompt the user for a selection of program files for which to write (load) or (autoload) expressions to a new or existing acaddoc.lsp file. At this prompt, the user may select one or more .lsp/.vlx/.fas program files from arbitrary folders.

If an existing acaddoc.lsp file is found within an AutoCAD support file search path, the (load) and/or (autoload) expressions will be appended to the content of the existing file; else the program will create a new acaddoc.lsp file within the Support folder under the ROAMABLEROOTPREFIX directory.

If the file to be loaded is a .lsp file and one or more custom commands can be determined from the file content, an (autoload) expression will be written to the acaddoc.lsp to demand-load the program upon the user issuing one of the custom commands defined within; else a (load) expression will be written if no custom commands can be determined or if the program file is a .vlx/.fas file.

Instructions for Running

Please refer to How to Run an AutoLISP Program.

textsize

increase · reset · decrease

Designed & Created by Lee Mac © 2010