( setq RADIUS 1.25) ( command “circle” “4,4” RADIUS) You can include any AutoLISP symbol or expression that evaluates to an appropriate value.AutoCAD commands and options are typed in as strings.It is followed by the command’s options input in the same order they would be typed at the AutoCAD “Command:” prompt. The first argument to the (command) function is always the command name. Rather than have an entirely new set of drawing and editing commands, AutoLISP permits the user to tap all of AutoCAD’s existing commands from within AutoLISP using the (command) function.
0 Comments
Leave a Reply. |