877| 2
|
[提问] 如果有图层就选择这个图层,如果没有就新建这个图层该如何操作 |
5明经币
最佳答案(if (not (tblsearch "layer" "3中心线层"))
(command "-layer" "n" "3中心线层" "c" "1" "3中心线层" "l" "center" "3中心线层" "lw" "0.15" "3中心线层" "");
)
(setvar "clayer" "3中心线层")
上面是抄的你的,但是好像不行吧 然后你再试试下面的
(if (not (tblsearch "layer" "3中心线层"))
(command "._layer" "m" "3中心线层" "c" "1" "" "lt" "center" "" "LW" "0.15" "" "")
)
(setv ...
| ||
发表于 2022-7-16 16:13:59
|
显示全部楼层
| ||
发表于 2022-7-16 16:55:48
|
显示全部楼层
评分 | ||