"<"ang
这样的结果是假设输入20度)
Command: line Specify first point: Specify next point or [Undo]: < Point or option keyword required. Specify next point or [Undo]: 20 Specify next point or [Undo]:
你必须这样:
(defun C:anL(/ e1 pt ang) (setq ang (getangle "\n:请输入角度值:")) (setq pt (getpoint "\nPick start point: ")) (command "line" pt (strcat "<" (angtos ang)) ...);后面还得给一点或距离,再回车才算完整 )