没问题-如果你还有问题,尽管问
- (defun c:3point ()
- ; Define the Function - no local variables or arguments in this one, so nothing in the brackets
- (command "_line")
- ; Invoke the Line command (merely prints "line" to the command line.
- (while
- ; While the following is true
- (> (getvar "CMDACTIVE") 0)
- ; The variable "CMDACTIVE" determines whether a command is active or not, i.e, while the line command
- ; is active...
- (command pause))
- ; print a "pause" to the command line (hence pause for user input.
- (princ))
- ;; exit cleanly.
|