 - 其中 (setq ddd-ty (entget ddd))
- (setq -3ty (list -3 (list "SOUTH" (cons 1000 "202111"))))
- (entmod (append ddd-ty (list -3ty)) ) 就是增加扩展数据
- 下面代码()可以根据扩展数据用ssget筛选。。。
- (setq yt-j (ssget "x" '((-4 . "<and")
- (-4 . "<or")
- (-3 ("SOUTH" (1000 . "140001"))) ;阳台
- (-3 ("SOUTH" (1000 . "143130"))) ;檐廊
- (-3 ("SOUTH" (1000 . "141400"))) ;破房
- (-4 . "or>")
- (6 . "X5")
- (0 . "LWPOLYLINE")
- (8 . "JMD")
- (-4 . "and>"))))
我用了上面的代码为什么会有以下提示呢
1001 组中有无效的的应用程序名nil
|