alijahed 发表于 2022-7-6 11:11:32

使用IF和Au时出现问题

大家好,
 
一切都很顺利,我很高兴!谢谢你的帮助
 
作为另一次尝试,我写道:
 
我得到了这个错误!
 
这意味着什么?我如何修复它?
 
干杯
 
阿里

alanjt 发表于 2022-7-6 11:50:00

没有理由启动新线程。
 
插入周围有太多paren。
 
如。
((command "_insert" "ssw1" '(0. 0. 0.) 1. 1. 0.)))
 
制造商:
(command "_insert" "ssw1" '(0. 0. 0.) 1. 1. 0.))
 
漂亮干净:
(defun C:prac6 (/ a b)
(setq a 1)
(setq b 1)
(if (= a b)
   (command "_insert" "ssw1" '(0. 0. 0.) 1. 1. 0.)
)
(command "zoom" "e")
)

alijahed 发表于 2022-7-6 11:55:34

很 完美!
 
你就是那个男人!

alanjt 发表于 2022-7-6 12:21:58

不客气。
页: [1]
查看完整版本: 使用IF和Au时出现问题