您是否需要一个显示所有当前设置的表单,如果正确,请按Ok else选择框并进行更改,该表单可以作为单独的defun写入,并在程序开始时作为步骤调用。
或者根据Lee Mac编写所有结果,如果确定,只需按enter键,任何其他键都意味着更改这在程序中非常快,如果在lisp中,则不需要编写dcl。我使用这种输入方法非常方便大家在工作中使用。
- (princ "all your values here")
- (setq ans (getstring ans "\nIf values ok press <Cr> else any key"))
- (IF (= ans NIL)
- (princ)
- (setnewvals)
- )
- (defun newvals ()
- (princ styleval)
- (setq ans (getstring ans "\nIf values ok press <Cr> else any key"))
- (IF (= ans NIL)
- (princ)
- (progn
- (setq styleval (Getstring "\nEnter new style name"))
- (setvar "stylname" stylname) ; I can nor rember style variable
- )
- )
- just repeat for all other vaules may mean you press Cr Cr enter val Cr Cr etc
希望这可能有用 |