本帖最后由 来武影 于 2012-5-23 15:33 编辑
443971181 发表于 2012-5-23 09:16 
加载到CAD怎么不能用呀?求教!  - (defun ureal (bit kwd msg def / inp)
- (if def
- (setq msg (strcat "\n" msg "<" (rtos def 2) ">: ")
- bit (* 2 (fix (/ bit 2)))
- )
- (setq msg (strcat "\n" msg ": "))
- )
- (initget bit kwd)
- (setq inp (getreal msg))
- (if inp
- inp
- def
- )
- )
这个要添加,或者加载的
|