lisp这里为什么必须用CADR,用CDR提示 参数类型错误: 二维/三维点: (x y z)查询PTS的数是一样的
(defunc:mc()(setvar"cmdecho"0)(setqen(entsel"SelectaLINE:"))(setqpts(cadren))(setqmpt...
(defun c:mc()
(setvar"cmdecho"0)
(setq en (entsel "Select a LINE:"))
(setq pts (cadr en))
(setq mptt (osnap pts "mid"))
(command "circle" mptt "d")
) 展开
(setvar"cmdecho"0)
(setq en (entsel "Select a LINE:"))
(setq pts (cadr en))
(setq mptt (osnap pts "mid"))
(command "circle" mptt "d")
) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询