(setq ptlstc ((-3.12105 -1497.3) (-8.08641 -1497.3) (-8.08641 -1501.71) (-3.12105 -1501.71)))
这里就会出现语法错误,根本运行不到后边去
- (setq ptlstc '((-3.12105 -1497.3) (-8.08641 -1497.3) (-8.08641 -1501.71) (-3.12105 -1501.71)))
- (foreach pt2 ptlstC
- (and pt2
- (setq ss3(ssget "X"(list(list 13 (car pt2)(cadr pt2)0))))
- (sssetfirst sss ss3))
- )
|