It is a good tool to learn lisp, and to adjust the syntax of a small routine
without exiting Autocad. Though you will need to call your own routines with
PowerClic image menu.
A block called « EDIT » is inserted, you write your routine without attributes,
and start the command by Powerclicking on it. The Lisp file is created in
PowerClic\Macro.
The first line of text must not exceed 8 letters (as per DOS file name)
and you can write your routine in the 10 following lines by using the spaces
you want.
It is not needed to write
(defun ma_function () ...) PowerClic will call it himself with the
name of the first line. Once the edition is finished Powerclick on the block
and the command will run.
Example :
The name mentioned in the first line will also be the name of the file.
The generated Lisp is contained in the installation folder of PowerClic
Powerclicking on the block Edit would invite user to draw a line, and once done
display this :
This function considerably speeds up the tuning process of a program, even
under window.
It suppresses 5 steps.:
- To open the text editor.
- To save the Lisp file.
- To toggle Autocad/text editor.
- To load the Lisp file.
- To execute the program.
It is recommended to use this function in order to clear the different
ambiguous parts of a program that you can assemble in your main program by reusing
the Lisp files generated by Powerclick in its installation repertory.