好的,我修复了这一部分,这是我到目前为止所做的(是的,我正在尝试将3个LISP合并为一个LISP的解决方案,是的,我看到他们有一个解决方案,但我已经开始了,所以现在我想完成),所以它通过了正确的选择(感谢getstring),然后它要求为窗口选择的第一个角,然后它说
选择对象/:;错误:错误函数:“x”
知道为什么吗?wall-x lsp很好用,我试了一下
- (defun C:321 (/ type)
- (setq type(getstring "\n Type of wall - X L T: "))
- (cond
- (= type x (c:wall-x))
- (= type l (c:wall-l))
- (= type t (c:wall-t))
- )
- (princ))
flowerrobot向我展示了这个,我认为添加它会很好,因为它可以确保加载所需的文件,但我不知道放在哪里
- (if (findfile "Somesortalfile.lsp)
- (load (findfile "somesortafile.lsp))
- (progn
- (alert "\nCan Not find you file, adjust your search paths")
- (exit)
- )
- )
任何帮助都将不胜感激 |