Custom Commands

See also Get Custom Commands & acaddoc.lsp Creator.

Function Syntax customcommands
Current Version 1.0
Download CustomCommandsV1-0.lsp
View HTML Version CustomCommandsV1-0.html
Compatible with AutoCAD for Mac? No
Compatible with AutoCAD LT? No
Donate

Program Description

The inspiration for this program stemmed from a question about how a user should determine the command with which a program should be called if no loading messages are displayed indicating such information.

As described in my tutorial on How to Run an AutoLISP Program, should no information be displayed in the code header or at the command line upon loading, the usual method to determine the command syntax would be to scan the source code for the function definition and note the symbol following the c: in the defun expression e.g.:

(defun c:MyCustomCommand ( / ... )

For the above example the custom command would be 'MyCustomCommand'.

To assist the user in this respect I have created this program to read a LISP file and provide a report detailing all custom commands defined by the file.

An example of the output for my Change Block Base Point program would be:

Custom commands defined by ChangeBlockBasePointV1-5.lsp:
------------------------------------------------------------
    CBP
    CBPR
------------------------------------------------------------

Instructions for Running

Please refer to How to Run an AutoLISP Program.

textsize

increase · reset · decrease

Designed & Created by Lee Mac © 2010