|
When you select a cell from the "Customize" menu the following dialog
appears:

Select "AutoLISP® command" and press "OK". The dialog below appears.

The
button keeps changes made and closes the dialog. The
button discards changes made and closes the dialog. The
button
brings you to this web page for help during the command (without canceling).
Generally speaking any single AutoLISP® expression may be entered here.
"Single" means that it is entirely enclosed in a set of parenthesis. So
(SETQ DCELLID_KLH# NIL) (C:APS-DETAILER)
is not a single expression, but with a little creativity...
(PROGN (SETQ DCELLID_KLH# NIL) (C:APS-DETAILER))
it can be made to be a single expression. We are also limited to only 256
characters in our expression but with some creativity and the use of some
subroutines (defined elsewhere) you should be able to get around this.
We won't make this an AutoLISP® tutorial, but here are two simple examples of
what can be done:
You may enter standard AutoCAD commands. Most of the standard AutoCAD
commands may be entered in this fashion.
Example: (COMMAND "LINE")
Some commands (like most of the
APS-2008 commands) must use the
"C:" format.
Example: (C:KEYNOTA)
If you are unsure about whether an expression will work here it is a good
idea to try it at the command line first. Type in the expression exactly as
you would here only type it in at the "Command:" prompt and press <Enter> when
done. If the expression works there, it should work here. Once you get any bugs
worked out you can also just copy the expression from the command line history
and paste it here.
|