autolisp 加载时 ; 错误: 参数类型错误: stringp nil 5
(defunc:123()(setqdcl_ia(load_dialog"H:/lisp/gear.dcl"))(setqwhat_next2)(while(>=what...
(defun c:123 ( )
(setq dcl_ia ( load_dialog "H:/lisp/gear.dcl"))
(setq what_next 2)
(while (>= what_next 2)
(if (not ( new_dialog "geardcl" dcl_ia))
(exit)
)
(action_tile "accept" "(getdata)(done_dialog 1)")
(setq what_next(start_dialog))
(if(= what_next 1)
((draw))
)
)
(unload_dialog dcl_ia)
(princ)
)
(defun getdata ()
(setq m (atof (get_tile "m")))
(setq z (atof (get_tile "z")))
(setq h (atof (get_tile "h")))
(setq zj(atof (get_tile "zj")))
(setq lf (atof (get_tile "lf")))
)
大神帮下忙 很着急 展开
(setq dcl_ia ( load_dialog "H:/lisp/gear.dcl"))
(setq what_next 2)
(while (>= what_next 2)
(if (not ( new_dialog "geardcl" dcl_ia))
(exit)
)
(action_tile "accept" "(getdata)(done_dialog 1)")
(setq what_next(start_dialog))
(if(= what_next 1)
((draw))
)
)
(unload_dialog dcl_ia)
(princ)
)
(defun getdata ()
(setq m (atof (get_tile "m")))
(setq z (atof (get_tile "z")))
(setq h (atof (get_tile "h")))
(setq zj(atof (get_tile "zj")))
(setq lf (atof (get_tile "lf")))
)
大神帮下忙 很着急 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询