明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1118|回复: 3

[提问] 求修改当前图层名称

[复制链接]
发表于 2014-3-28 10:59 | 显示全部楼层 |阅读模式
5明经币
求修改当前图层名称LS P

最佳答案

查看完整内容

(defun c:tt ( / new) (setq new (getstring "\n输入图层名称:")) (vl-cmdf "-rename" "la" (getvar "clayer") new) )
发表于 2014-3-28 10:59 | 显示全部楼层
(defun c:tt ( / new)
(setq new (getstring "\n输入图层名称:"))
(vl-cmdf "-rename" "la" (getvar "clayer") new)
)
回复

使用道具 举报

发表于 2014-3-28 11:23 | 显示全部楼层
当前层不可以是0层...0层名称也不可改....
回复

使用道具 举报

发表于 2014-3-28 13:32 | 显示全部楼层
亲这是有钱烧的吧...这么简单的问题也问
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-20 22:25 , Processed in 0.178173 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表